提交时间:2023-01-10 16:21:28

运行 ID: 17473

N=int(input()) if N>=0: print(int(str(N)[::-1])) else: n=str(N)[1:] n=str(N)[0]+n[::-1] print(int(n))