Problem with ide

I am trying to solve the problem on page CodeChef: Practical coding for everyone but even a code this :
a=input()
print(a)
t=int(a)
for i in range(0,a):
b,c=input().split(" ")
b=int(b)
c=int(c)
is giving an error Traceback (most recent call last):
File “prog.py”, line 1, in
a=input()
EOFError