#include<iostream.h> int fun(int m,int n) { if(0 == m%n) return n; else return fun(n,m%n); } int main() { cout<<fun(2,15)<<endl; return 0; }