1212 -- Large or small

来源:互联网 发布:node 202和小乌鸦2 编辑:程序博客网 时间:2024/06/10 16:17

Large or small

Time Limit:1000MS  Memory Limit:65536K
Total Submit:93 Accepted:63

Description

Only Input and Output

Input

Several cases.
A letter indicating the operation('L' means to output the lager one while 'S' the smaller).
Followed by two integers. It's guaranteed that all numbers are smaller than 10^5.

Output

According to the operation to output the lager or smaller integer on a seperate line.
If the letter is not 'L' or 'S' just print "Input error!".

Sample Input

L 1 2S 3 4A 5 6 

Sample Output

23Input error!

Source

0 0
原创粉丝点击