#include <bits/stdc++.h>
using namespace std;
int flag = 0, flag1 = 1;
int p, n, v, m, k, i, j, coun = 0, ctr;
int a[26] = {0};
int main() {
  string s;
  cin >> s;
  n = s.length();
  cout << (n + 1) * 26 - n << endl;
  return 0;
}
