#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
const long long INF = LLONG_MAX;
int main() {
  string s;
  cin >> s;
  int x = s.size();
  cout << 26 * (x + 1) - x;
  return 0;
}
