Accept a positive integer as input and print the digits present in it from left to right. Each digit should be printed as a lower case word on a separate line.
Use a dictionary that maps each digit to its word: '0' to zero, '1' to one, '2' to two, and so on.
Example
Input:
2024
Output:
two
zero
two
four
Write a complete program: read the input with input() and print the result with print().
Input
2024
Output
two
zero
two
four