Help me in solving SYNJREARG2 problem

My issue

what

Learning course: Learn Java
Problem Link: Rearrange Practice Problem in Java - CodeChef