Help me in solving LBJ200 problem

My issue

My code

// Click on 'Next' to continue.

Learning course: Java for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone