Back to task

70 symbols python3
Mon Sep 12 17:08:24 2016 Sait2000
a='十一二三四五六七八九'.find
s=input()
print(a(s[0])*10+a(s[-1])-10*(s=='三十八'))


Leave a comment

Parsed as Markdown

Login to leave a comment