GCD of two numbers M and N. 0<=N<=10000000 and N <= M < 10^250

https://hack.codingblocks.com/app/dcb/702