For this Question: In sheet each row is assigne as a string as shown:-
 A - > 1
 B - > 2
 C - > 3
. .
 Z - > 26
 AA - > 27
 AB - > 28 

Given the string S, your task is to find its row number.Input contains a single line containing the string S.

Constraints:-
1 < = |S| < = 100000

Note:- String will only contain uppercase english lettersPrint a single integer containing the row number since the ans can be quite large print you ans modulo 10^9 + 7.Sample Input:-
AB

Sample Output:-
28

Sample Input:-
A

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



class Main {
	public static void main (String[] args) throws IOException{
    BufferedReader rd=new BufferedReader(new InputStreamReader(System.in));
	String st=rd.readLine();

	int len=st.length();
	int n=len-1;
	int m =1000000007;
	long sum=0;
    for (int i = 0; i <len; i++)
    {
        sum=(sum*26)%m;
        sum=(sum+st.charAt(i) - 'A' + 1);
    }







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