407119: GYM102697 090 Computer World

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

090. Computer Worldtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output

Computer World

You just bought a new computer, and you wonder if it has a large, medium, or small amount of storage on its hard drive. The storage of your computer's hard drive will be given in gigabytes (GB).

If your computer's storage space is less than or equal to 200 GB, you consider it SMALL.

Otherwise, if your computer's storage space is less than or equal to 500 GB, you consider it MEDIUM.

Otherwise, you consider it LARGE.

Given these storage space bounds, figure out whether or not your computer's storage is SMALL, MEDIUM, or LARGE, and print the answer accordingly.

Input

The only line of input contains a string indicating how much storage space your computer has, with a "GB" on the end. For example, if your computer had 300 gigabytes of storage, this would be read as "300GB" (no quotes) in the input.

Output

Output a single string: SMALL, MEDIUM, or LARGE (all caps), classifying your computer's storage space as described above.

ExamplesInput
800GB
Output
LARGE
Input
200GB
Output
SMALL
Input
450GB
Output
MEDIUM

加入题单

算法标签: