题目链接:http://codeforces.com/contest/554/problem/A
#include <iostream>
#include <cstring>
using namespace std;
int main()
{
char s[25];
while(cin>>s)
{
int len=strlen(s);
int sum=26*(len+1)-len;
cout<<sum<<endl;
}
return 0;
}