#include
using namespace std;
int nod(int a,int b) {
if (a==b){
return a;
}
else if (a > b) {
return nod(a - b, b);
}
else {
return nod(b, b-a);
}
}
int nod4(int a,int b,int c,int d) {
int y;
int x;
x = nod(a, b);
y = nod(c, d);
return nod(x, y);
}
int main() {
cout
system("pause");
}