#include <bits/stdc++.h>
int getString(char *s) {
  char c = getchar();
  int i = 0;
  while ((c = getchar()) != '\n' && c != '\r') {
    s[i++] = c;
  }
  return i + 1;
}
int main() {
  char a[20];
  int x = getString(a);
  printf("%d\n", x * 25 + 26);
  return 0;
}
