For this Question: Given a number N, find out whether it is divisible by 3.The first and the only line of input contains the number N.

<b>Constraints</b>
1 <= N <= 10^100000 (N may consist of 100001 digits).


<b>No usual datatype will be able to input such large number.</b>Output "Yes" if the number is divisible by 3, else output "No".Sample Input 1
14

Sample Output 1
No

Sample Input 2
1234567890123456789012345678901234567890

Sample Output 2
Yes

Explanation: In the first sample case, the number is not divisible by 3, while in the second sample case, it is divisible by 3. (We know how weird this explanation is, but ok)., I have written this Solution Code: 
import java.util.*;
import java.lang.*;
import java.io.*;

class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
	    
	  String S = sc.next();
	  int sum=0;
	  for(int i=0;i<S.length();i++){
	      sum+=S.charAt(i)-'0';
	  }
	  if(sum%3==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?