#K68522. Integer to Words
Integer to Words
Integer to Words
Given an integer n where \(0 \le n \le 999\), convert it to its word representation in English. The words should be in lowercase and separated by a single space.
For example, if \(n = 123\), then the output should be "one hundred twenty three".
You are required to read the input from stdin
and write the result to stdout
.
inputFormat
The input consists of a single integer \(n\) (\(0 \le n \le 999\)) provided through stdin
.
outputFormat
Output the English word representation of the given integer to stdout
. The words must be in lowercase and separated by a single space.
0
zero