import array
a=int(input())
arr = array.array('i', []) 
for j in range(0,a):
    n=int(input())
    arr.append(n); 
for j in range(0,a):
    print(arr[j], end =" ") 
    print(j) 

eaae530e215367ac730b32295f8c37084beb5350
<mask token>

<mask token>
for j in range(0, a):
    n = int(input())
    arr.append(n)
for j in range(0, a):
    print(arr[j], end=' ')
    print(j)

<mask token>
a = int(input())
arr = array.array('i', [])
for j in range(0, a):
    n = int(input())
    arr.append(n)
for j in range(0, a):
    print(arr[j], end=' ')
    print(j)

import array
a = int(input())
arr = array.array('i', [])
for j in range(0, a):
    n = int(input())
    arr.append(n)
for j in range(0, a):
    print(arr[j], end=' ')
    print(j)

import array
a=int(input())
arr = array.array('i', []) 
for j in range(0,a):
    n=int(input())
    arr.append(n); 
for j in range(0,a):
    print(arr[j], end =" ") 
    print(j) 
