#P240. 【例40.1】 字符类型判断

【例40.1】 字符类型判断

Description

Input a character from the keyboard and determine whether it is an uppercase letter, a lowercase letter, a digit, or another character. Output the corresponding message.

Input Format

A single character.

Output Format

If the character is an uppercase letter, output upper; if it is a lowercase letter, output lower; if it is a digit, output digit; otherwise, output other. (Do not include quotation marks in the output)

Sample

1
digit