Problem1829--谁的年龄大?

1829: 谁的年龄大?

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 16 MiB

Description

小明、小王想看看他们俩谁的年龄大,目前已知小明的年龄nn为一个两位数),小王的年龄为n倒过来后组成的数,请问他们两谁的年龄大?

Input

小明的年龄n。

Output

一个整数,表示他们俩年龄的最大值。

Sample Input Copy

45

Sample Output Copy

54

Source/Category