Your task is to write a program that reads a character and prints if this is a letter, a digit, or it is not either a letter nor digit.
Input
The input is a character.
Output
The output is a line with the text “lletra” (for letters), “digit” (for digits) or “res” (for nothing) as required. [Those funny labels are due to a problem in the translation.]
Input
6
Output
digit
Input
C
Output
lletra
Input
Z
Output
lletra
Input
$
Output
res
Input
f
Output
lletra
Input
.
Output
res