2839.Tavas and Nafas

Time Limit: 1s Memory Limit: 256MB

Today Tavas got his test result as an integer score and he wants to share it with his girlfriend, Nafas.

His phone operating system is Tavdroid, and its keyboard doesn't have any digits! He wants to share his score with Nafas via text, so he has no choice but to send this number using words.

2839_1.png

He ate coffee mix without water again, so right now he's really messed up and can't think.

Your task is to help him by telling him what to type.

Input Format(From the terminal/stdin)

The first and only line of input contains an integer s (0 \le s \le 99), Tavas's score.

Output Format(To the terminal/stdout)

In the first and only line of output, print a single string consisting only from English lowercase letters and hyphens ('-'). Do not use spaces.

Sample Input 1

Copy
6
 \n

Sample Output 1

Copy
six
   \n

Sample Input 2

Copy
99
  \n

Sample Output 2

Copy
ninety-nine
           \n

Sample Input 3

Copy
20
  \n

Sample Output 3

Copy
twenty
      \n

Hints

You can find all you need to know about English numerals in http://en.wikipedia.org/wiki/English_numerals .

Submit

请先 登录

© 2025 FAQs