屈老师 n=int(input()) if n>=0: a=False else: a=True n*=-1 n=str(n) n=n[::-1] n=int(n) if a: n*=-1 print(n)