NZEC error while using python 3.6

In case of getting NZEC every time you RUN code on IDE, refer to this post: Python, Error while taking input