l = int(input('请输入一个三位数的整数')) a = l // 100 b = l //10 % 10 c = l % 10 ret = c * 100 + b * 10 + a * 1 print(ret)