import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
/**
* @ClassName Main
* @Description
* @Author fucheng.guo
* @Since 2022-2-18 10:50
*/
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
int length = bf.readLine().length();
System.out.println((length + 1) * 26 - length);
}
}