Hi, Please check the screenshot attached. I am using the exact same code and exact same input, but when I run the code, it gives correct output and different output when I submit code.