Write a program to print the digits of a number

Write a program to print the digits of a number .

Input:-

N - 153 .

output:-

3

5

1