Back to task

75 symbols python3
Tue Aug 12 20:05:25 2014 z423x5c6
i=input
a=~-int(i())*~-int(i())
b=int(i())
c=1
while b*c%a!=1:c+=1
print(c)


Leave a comment

Parsed as Markdown

Login to leave a comment