#include using namespace std; int gcd(int a, int b) { if(!a) { return b; } if(!b) { return a; } int res; while(b) { res = b; b = a % b; a = res; } return res; } int main() { /* int a,b; cin >> a; cin >> b; cout << gcd(a,b) << endl; return 0; */ }