fork download
  1. a = 77164189341682084692124351766096496451364840671846455244761
  2. b = 46668734283684548617206823665104829826096872771679324943689
  3.  
  4. while a!=0 and b!=0:
  5. if a > b:
  6. a = a % b
  7. else:
  8. b = b % a
  9.  
  10. print (a+b)
Success #stdin #stdout 0.02s 27712KB
stdin
Standard input is empty
stdout
448643232670469