Create exam -3

Write a program to print the numbers 1, 101 and 1001.