For this Question: Santa has been trying to solve the following task. Would you please help him so that he can go back to distributing gifts?

Given an integer N, print "AC" if N is 1. Otherwise, print "WA".

Note: You are supposed to print "AC" and "WA" without the quotes.The input consists of a single line containing the integer N.

<b> Constraints: </b>
0 ≤ N ≤ 1000Print the required answer.Sample Input 1
1
Sample Output 1
AC


Sample Input 2
0
Sample Output 2
WA
, I have written this Solution Code: import java.io.*;
import java.util.*;



class Main {
	public static void main (String[] args) throws IOException{

        InputStreamReader r = new InputStreamReader(System.in);
        BufferedReader br=new BufferedReader(r);

        String num = br.readLine();

        int N = Integer.parseInt(num);
        String result = "";
        if(N < 1000 && N > 0 && N == 1){
            result = "AC";
        } else {
            result = "WA";
        }

        System.out.println(result);
	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?