NZEC Runtime Error in Python 3.6

Hello Guys, I am rookie at code chef basically all cp platforms. I am getting a annoying runtime error called NZEC (Error While reading File). After a lot RnD i found out that its because of online IDE - input() method. So everyone on the web suggested to use the Exception Handling (TRY/Except)
But but but, the struggle does’nt ends here!! My code runs now properly, but now its not getting submitted error - WRONG ANSWER :frowning:

Help Me Out please
Error with the very first problem - ATM

Did you provide some input? If not go through this.

Yes and answers are getting correct