#include <bits/stdc++.h>
using namespace std;
int main() {
  string str, tmp;
  set<string> s;
  cin >> str;
  for (int i = 0; i <= (int)str.size(); ++i)
    for (char c = 'a'; c <= 'z'; ++c)
      tmp = str, tmp.insert(tmp.begin() + i, c), s.insert(tmp);
  cout << s.size();
  return 0;
}
