#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  int s = 26;
  char c, t = '.';
  while (cin >> c) {
    s += 25;
    t = c;
  }
  cout << s;
  return 0;
}
