PCJ18B - Why is my answer marked as wrong?

This is my first submission and it is giving correct answers when I check, but this site marks it as wrong. Can you please see where the error is in my code? Thank you.

Check the following submission for hints about the error in your code.