Problem: Kyoya Ootori is selling photobooks of the Ouran High School Host Club. He has 26 photos, labeled "a" to "z", and he has compiled them into a photo booklet with some photos in some order (possibly with some photos being duplicated). A photo booklet can be described as a string of lowercase letters, consisting of the photos in the booklet in order. He now wants to sell some "special edition" photobooks, each with one extra photo inserted anywhere in the book. He wants to make as many distinct photobooks as possible, so he can make more money. He asks Haruhi, how many distinct photobooks can he make by inserting one extra photo into the photobook he already has?

Please help Haruhi solve this problem.

Input

The first line of input will be a single string s (1 ≤ |s| ≤ 20). String s consists only of lowercase English letters. 

Output

Output a single integer equal to the number of distinct photobooks Kyoya Ootori can make.

Examples

Input

a


Output

51


Input

hi


Output

76

Note

In the first case, we can make 'ab','ac',...,'az','ba','ca',...,'za', and 'aa', producing a total of 51 distinct photo booklets. 

Solution (in JAVA):

Solution:
    
    import java.io.*;
import java.util.*;

    
    
    public class co {
        int x;int y;    
      public static void main(String[]args){
          Scanner s=new Scanner(System.in);
            PrintWriter pw=new PrintWriter(System.out);
            ArrayList<Character> al=new ArrayList<Character>();
            String n=s.next();
            int[] a=new int[256];
            for(int i=0;i<n.length();i++){
                a[n.charAt(i)]++;
            }
            int dis=0;int sum=0;
            for(int i=0;i<256;i++){
                if(a[i]!=0)
                    dis++;
                sum+=a[i];
            }
            int fi=(n.length()+1)*dis-sum;
            int sec=(26-dis)*(n.length()+1);
            pw.print(fi+sec);
            pw.flush();
        }
      public static void s(char[] a,int i,ArrayList<Character> al,int t){
        
        if(t==0){
            System.out.println(al);
            return ;
        }
        for(int k=i;k<a.length;k++){
           // if(k>0&&a[k]==a[k-1])continue;
            al.add(a[k]);
            s(a,k+1,al,t-1);
            
            al.remove(al.size()-1);
        }
      }
    }