The included code stub will read an integer, , from STDIN.

Without using any string methods, try to print the following:

Note that “” represents the consecutive values in between.

Example

Print the string .

Input Format

The first line contains an integer .

Constraints

Output Format

Print the list of integers from through as a string, without spaces.

Sample Input 0

3

Sample Output 0

123

Solution

from __future__ import print_function

if __name__ == ‘__main__’:

n = int(input())

for i in range(1,n+1):

print(i,end=’’);

--

--

Task
The provided code stub reads and integer, , from STDIN. For all non-negative integers , print .

Example

The list of non-negative integers that are less than is . Print the square of each number on a separate line.

0
1
4

Input Format

The first and only line contains the integer, .

Constraints

Output Format

Print lines, one corresponding to each .

Sample Input 0

5

Sample Output 0

0
1
4
9
16

Solution

N = int(raw_input())

for i in range(N):

print i * i

--

--