Help Me please

Problem CodeChef: Practical coding for everyone

What’s wrong in my solution
Python Code

look at what the question is asking for. it wants a hack or buggy case.
what you had to do in the question is look at the bugged solution that they have given, and design a case where it would fail.
look at where it says Hack Case Note, you can find their solution from the link given.
basically you had to submit a test case in the input format they gave, and not a program.