Prateek sir and coding

in all my test cases my code is giving run error- https://ide.codingblocks.com/s/315839

Hi, you forgot to handle the case when the stack is empty and the student has to go empty handed.