import sys n = str(input()) l = [chr(i) for i in range(97,123)] num = (len(n)+1)*len(l)-len(n) print(num)