Why am i getting this error

Traceback (most recent call last): File “script.py”, line 3, in sum = sum + int(input()) EOFError: EOF when reading a line