090. Computer World
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard 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.

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