a=input();print('0'if a=='0'else a+'0')