For number from 1 to 20 Output is: 7 7 9