class Integer def gcd(b) a=self b,a=a,b if(a