#include <bits/stdc++.h>
using namespace std;
int solve() {
  string s;
  cin >> s;
  return 26 * (s.length() + 1) - s.length();
}
int main(void) {
  ios_base::sync_with_stdio(false);
  cout << solve();
  return (0);
}
