Control C101C

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.]

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T18:12:28.532Z

© Jutge.org, 2006–2026.
https://jutge.org