Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Say it !

Limits 1s, 512 MB

You will be given an English letter'(A'-'Z' or 'a'-'z'). You have to say whether it is lowercase or uppercase letter.

Input

Input begins with an integer T denoting the number of test cases (T<=100).
Each test case contains a letter in a separate line.

Output

For each test case print “lowercase” if the letter is a lowercase letter otherwise print “UPPERCASE” in a separate line.
See the sample input/output for further clarification.

Sample

InputOutput
5
S
M
s
T
a
UPPERCASE
UPPERCASE
lowercase
UPPERCASE
lowercase

    Discussion

    Statistics


    99% Solution Ratio

    touhidurrrEarliest, Oct '19

    prodip_bsmrstuFastest, 0.0s

    prodip_bsmrstuLightest, 0 B

    bokaifShortest, 73B

    Submit

    Login to submit

    Toph uses cookies. By continuing you agree to our Cookie Policy.