Barr the Bear gave Bob the Penguin a mysterious computer. When Bob the Penguin keys in a number, a mysterious number pattern appeared. However, Bob was too muddle-minded to figure out how the computer worked, and Barr is too lazy to tell him the answer. Can you help Bob out?
Write a program that when given a number N
, outputs the following number pattern.
1 ≤ N
Your program should read from standard input the following data:
The line contains an integer N
Your program should output to standard the following number pattern.
Sample Input 1
Sample Output 1
Sample Input 2
Sample Output 2