Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (17 sloc) 540 Bytes

English digit

Description

Write a method that returns the last digit of given integer as an English word. Write a program that reads a number and prints the result of the method.

Input

  • On the first line you will receive a number

Output

  • Print the last digit of the number as an English word

Constraints

  • Time limit: 0.2s
  • Memory limit: 16MB

Sample tests

Input Output
42 two

Submission

  • Submit your code here