For this Question: You are given a big number in form of a string A of characters from 0 to 9.

Check whether the given number is divisible by 30 .The first argument is the string A.

<b>Constraints</b>
1 &le; |A| &le; 10<sup>5</sup>Return "Yes" if it is divisible by 30 and "No" otherwise. Sample Input : 
3033330

Sample Output:
Yes, I have written this Solution Code: import java.io.*;
import java.util.*;



class Main {






    public static void main (String[] args)throws IOException {
        BufferedReader br= new BufferedReader(new InputStreamReader(System.in));
        String a= br.readLine();
        int sum=0;
        int n=a.length();
        int s=0;
        for(int i=0; i<n; i++){
            sum=sum+ (a.charAt(i) - '0');
            if(i == n-1){
                s= (a.charAt(i) - '0');
            }
        }
        if(sum%3==0 && s==0){
            System.out.print("Yes");
        }else{
            System.out.print("No");
        }
    }
















}, In this Programming Language: Java, Now tell me if this Code is compilable or not?