#include <iostream>
using namespace std;

int main() {
	int commonDenominator(int x,int y){

        if(((x>y)?x:y) - ((x>y)?y:x) == 0)
            return (x<y)?x:y;
        else
            return commonDenominator(((x>y)?y:x), ((x>y)?x:y) - ((x>y)?y:x));
    }
    commonDenominator(252, 198)
	return 0;
}