#include <bits/stdc++.h>
using namespace std;
const double pi = acos(-1.0);
const double eps = 1e-11;
const int mod = 1e9 + 7;
const int oo = (1 << 31) - 1;
template <class T>
inline void readInt(T &n) {
  n = 0;
  T ch = getchar();
  int sign = 1;
  while (ch < '0' || ch > '9') {
    if (ch == '-') sign = -1;
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9')
    n = (n << 3) + (n << 1) + ch - '0', ch = getchar();
  n = n * sign;
}
const int maxn = 100005;
int main() {
  int n;
  string s;
  set<string> st;
  cin >> s;
  n = s.length();
  for (int i = ((int)(0)); i < ((int)(n + 1)); i++) {
    for (int j = ((int)(0)); j < ((int)(26)); j++) {
      char ch = 'a' + j;
      st.insert(s.substr(0, i) + ch + s.substr(i));
    }
  }
  cout << ((int)st.size()) << endl;
  return 0;
}
