Help me in solving LOOPJ2V2 problem

My issue

the problem is its not submitting the solution ,it is showing time limit exceed.what should i do now

My code

import java.util.*;

class Codechef
	public static void main (String[] args)
		Scanner read = new Scanner(;
		int num = read.nextInt();
		int a = 0;
		// Update your code below this line
		while(a < num);

Learning course: Learn Java
Problem Link: CodeChef: Practical coding for everyone

remove ; from while condition and also try and out a<=num