import java.util.Scanner;

import static java.lang.System.out;

/**
 * Use this file to submit. UVA only accepts class Main
 */
public class Main {

    public static void main(String[] args) {
    	out.println("it works!");
    }
}

@@ -196,33 +196,158 @@
    %09
-out.println(%22it works!%22);
+Scanner in = new Scanner(System.in);%0A%09%09int lines = in.nextInt();%0A%09%09%0A%09%09while(0 != lines--) %7B%0A%09%09%09%0A%09%09%09// process items%0A%09%09%09%0A%09%09%7D%0A        %0A        %0A        
 %0A   

Update Main.java