#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  int count = 26, sum = 0;
  cin >> s;
  set<string> se;
  string::iterator it;
  int n = s.length();
  for (int i = 0; i <= n; i++)
    for (char c = 'a'; c <= 'z'; c++) {
      se.insert(s.substr(0, i) + c + s.substr(i));
    }
  cout << se.size() << endl;
  return 0;
}
