#CCBCHMUOI0000007. Lệnh một chữ số (Single-Digit Command)
Lệnh một chữ số (Single-Digit Command)
Single-Digit Command
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
A device accepts an integer command code k. Codes 1, 2 and 3 correspond to ONE, TWO and THREE; any other code is unknown.
Input
One integer k.
Output
Print ONE, TWO or THREE for k equal to 1, 2 or 3 respectively; otherwise print UNKNOWN.
Subtasks
-
Subtask 1 (20 points): 1 <= k <= 3.
-
Subtask 2 (30 points): -10 <= k <= 10.
-
Subtask 3 (50 points): -100 <= k <= 100.
Examples
Example 1
Input
2
Output
TWO
Explanation
Code 2 matches case 2 and prints TWO.
Example 2
Input
-2
Output
UNKNOWN
Explanation
-2 matches none of 1, 2, 3, so default applies.