Help me in solving LB01B problem

My issue

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

Options 1,3 and 4