Help by submitting a code

I need help because I can’t submit my code, it gives me an EOF error on the first line.
can any one explain me why this code is giving run-time error and EOF error

t = int(input())
x = int(input())
y = int(input())

for i in range(t):
compteur = 0
while y != x:
if y > x:
a = y - x
if a%2 != 0:
x = x + a
compteur += 1
else:
x = x + (a+1)
compteur += 1
if y < x:
b = x - y
if b%2 == 0:
x = x - b
compteur += 1
else:
x = x - (b+1)
compteur += 1
print(compteur)

Here is the code

use this;

try:
your code
expect:
pass

Please also provide the information regarding problem, ie, for which problem are you trying to submit it?