#include #include int GetGCD(int a, int b){ int r=-1; if(a> m >> n; int gcd = GetGCD(m, n); m/=gcd; n/=gcd; int cnt = 0; while(n!=1){ if(m