#include <bits/stdc++.h>
const int INF = 1e9 + 7;
const double EPS = 1e-6;
const double pi = acos(-1);
const int MOD = 1e9 + 7;
const int MAXN = 1e5 + 1000;
using namespace std;
long long ans = 26;
int main() {
  string s;
  cin >> s;
  int n = (int)s.size();
  ans += (25 * 1ll * (n));
  cout << ans;
  return 0;
}
