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.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.io.Reader;
import java.io.UnsupportedEncodingException;
import java.text.DecimalFormat;
import java.util.HashSet;
import java.util.Set;
import java.util.StringTokenizer;

public class A {
	private final static long START_TIME=System.currentTimeMillis();
	private final static boolean LOG_ENABLED=true;
	private final static boolean ONLINE_JUDGE = LOG_ENABLED && (System.getProperty("ONLINE_JUDGE") != null);
	private final static String SYSTEM_ENCODING="utf-8";


	private static class Logger{
		private final PrintWriter logWriter=Util.newPrintWriter(System.err,true);
		private final DecimalFormat df=new DecimalFormat("0.000");
		private void message(String type, String message, Object ... params){
			if(ONLINE_JUDGE){
				return;
			}
			logWriter.printf("["+type+"] "+df.format((System.currentTimeMillis()-START_TIME)/1000.0)+": "+message+"\r\n", params);
		}
		public void debug(String message, Object ... params){
			message("DEBUG", message, params);
		}
	}

	private final static class Util{
		public static PrintWriter newPrintWriter(OutputStream out, boolean autoFlush){
			try {
				return new PrintWriter(new OutputStreamWriter(new BufferedOutputStream(out), SYSTEM_ENCODING),autoFlush);
			} catch (UnsupportedEncodingException e) {
				throw new IllegalStateException(e);
			}
		}
	}

	public final static class FastScanner{
		private BufferedReader reader;
		private StringTokenizer currentTokenizer;
		public FastScanner(Reader reader) {
			if(reader instanceof BufferedReader){
				this.reader=(BufferedReader) reader;
			}else{
				this.reader=new BufferedReader(reader);
			}
		}

		public String next(){
			if(currentTokenizer==null || !currentTokenizer.hasMoreTokens()){
				try {
					currentTokenizer=new StringTokenizer(reader.readLine());
				} catch (IOException e) {
					throw new IllegalStateException(e);
				}
			}

			return currentTokenizer.nextToken();
		}
		public int nextInt(){
			return Integer.parseInt(next());
		}

		public long nextLong(){
			return Long.parseLong(next());
		}

		public double nextDouble(){
			return Double.parseDouble(next());
		}

	}

	private final static Logger log=new Logger();
	private final BufferedReader reader;
	private final FastScanner in;
	private final PrintWriter out=Util.newPrintWriter(System.out,false);

	public A(BufferedReader reader){
		this.reader=reader;
		in=new FastScanner(this.reader);
	}

	public static void main(String[] args) throws IOException {
		log.debug("Started");
		try{
			new A(new BufferedReader(new InputStreamReader(System.in, SYSTEM_ENCODING))).run();
		}finally{
			log.debug("Stopped");
		}
	}

	void run(){
		solve();
		out.flush(); 
	}

	private void solve(){
		String book  = in.next();
		Set<String> strings=new HashSet<String>();
		StringBuilder sb=new StringBuilder(book.length()+1);
		for(int i=0;i<=book.length();i++){
			sb.setLength(0);
			sb.append(book);
			sb.insert(i, " ");
			for(char c='a';c<='z';c++){
				sb.setCharAt(i, c);
				//log.debug("sb: %s", sb);
				strings.add(sb.toString());
			}
		}
		out.println(strings.size());
	}

}
//---