Alphabet game SOLUTION
Recently Rocky had participated in coding competition and he is sharing one of the problem with you which he was unable to solve. Help Rocky in solving the problem. Suppose the alphabets are arranged in a row starting with index 0 from AtoZ. If in a coded language A=27 and AND=65. Help Rocky to find a suitable formula for finding all the value for given test cases? (All alphabets are in Upper case only).
First line of the input contains string s.
Output the possible integer values of the given string s according to the question .