EOF error in codechef

i ran my code for the first problem:simple input on jupyter notebooks and it worked just fine, but on codechef it gave an EOF error at a = int(input()). How do i resolve this?

@gunjanarora
I have faced some similar issues with Codechef IDE as well when I run my codes on my own input. However it works fine while submitting codes for their problems on their platform.

As an alternative to Codechef IDE, try using your local compiler. That would be the best.
Otherwise you can use ide.codingblocks.com or any other IDE which suits you as well.

Try your code on them and let me know if there’s any issues.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.