Runt time eror:EOF

I am new to code chef and tried running few codes in pyth 3.6 but getting run time:-
error:Traceback (most recent call last):
File “./”, line 2, in
EOFError: EOF when reading a line
This haapens everytime. Tried running program on VS code and also with custom inputs it was running fine.
Problem link :-

Your python 3.6 solution for this basic problem can be just one line of code.


If you are using the custom input to test your code, make sure you have the test data included.