Back to task

56 symbols python2
Mon Aug 11 14:54:28 2014 xsot
i=input
t=~-i()*~-i()
d=e=i()
while d%t>1:d+=e
print d/e


Leave a comment

Parsed as Markdown

Login to leave a comment