import java.math.BigInteger;

class Idiom74
{
	public static void main (String[] args) throws java.lang.Exception
	{
		BigInteger a = new BigInteger("6000000000000");
		BigInteger b = new BigInteger("9000000000000");
		
		BigInteger x = a.gcd(b);
		
		System.out.println( "GCD(" + a + ", " + b + ") == " + x );
	}
}