@anonymous/

FrugalQuestionableYellowlegs

Python 2.7

No description

fork
loading
Files
  • main.py
main.py
1
2
n=input()
while n:r=int(`n`[::-1]);n=min(r%n,n%r);print n/n*n