int n = 5;
int d = 10;
MyRationalC r = new MyRationalC(5, 10);
int g = r.gcd(n, d);
System.out.println("gcd: " + g);
float f = r.toReal();
System.out.println("real value: " + f);
MyRationalC s = r.plus(r);
System.out.println("sum: " + s);
s.normalize();
System.out.println("sum: " + s);