NZEC for CHEFXCHG in Python

For CHEFXCHG even the most naive solution in python3/pypy3 is giving a Run-time Error.
NZEC: CodeChef: Practical coding for everyone

However, the following code gives WA as expected.
WA: CodeChef: Practical coding for everyone

The WA is understandable but I just don’t get why it gives me NZEC.