>>92
int gcd(int x, int y)
{
int z;
if (y)
while ((z = x % y)) {
x = y;
y = z;
}
return abs(y);
}

int a, b, c;

if (gcd(gcd(a, b), c) > 1)