while 1:a,b,c,d=input();print(a[:a>'0'or'13'>b+c!=c>'0'<d]+b+c[c<'1'<'11'>a+b:]+d)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page