def gcd(a, b):
if b == 0:
return a
else:
return gcd(b, a % b)
# Example usage
a = 48
b = 60
print(gcd(a, b)) # Output: 12