Problem: Kyoya Ootori is selling photobooks of the Ouran High School Host Club. He has 26 photos, labeled "a" to "z", and he has compiled them into a photo booklet with some photos in some order (possibly with some photos being duplicated). A photo booklet can be described as a string of lowercase letters, consisting of the photos in the booklet in order. He now wants to sell some "special edition" photobooks, each with one extra photo inserted anywhere in the book. He wants to make as many distinct photobooks as possible, so he can make more money. He asks Haruhi, how many distinct photobooks can he make by inserting one extra photo into the photobook he already has?

Please help Haruhi solve this problem.

Input

The first line of input will be a single string s (1 ≤ |s| ≤ 20). String s consists only of lowercase English letters. 

Output

Output a single integer equal to the number of distinct photobooks Kyoya Ootori can make.

Examples

Input

a


Output

51


Input

hi


Output

76

Note

In the first case, we can make 'ab','ac',...,'az','ba','ca',...,'za', and 'aa', producing a total of 51 distinct photo booklets. 

Solution (in PYTHON3):

Solution:
#!/usr/bin/env python
# 554A_photo.py - Codeforces.com 554A Photo quiz
#
# Copyright (C) 2015 Sergey
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#       http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""
Please help Haruhi solve this problem.

Input

The first line of input will be a single string s (1<=|s|<=20).
String s consists only of lowercase English letters.

Output

Output a single integer equal to the number of distinct photobooks
Kyoya Ootori can make.

"""

# Standard libraries
import unittest
import sys
import re

# Additional libraries


###############################################################################
# Photo Class
###############################################################################


class Photo:
    """ Photo representation """

    def __init__(self, args):
        """ Default constructor """

        self.args = args
        self.str = args

    def calculate(self):
        """ Main calcualtion function of the class """

        result = 0
        for n in range(len(self.str) + 1):
            if n == 0:
                result += 1
            result += 25

        return result

###############################################################################
# Executable code
###############################################################################


def decode_inputs(inputs):
    """ Decoding input string list into base class args list """

    # Decoding input into a string
    ilist = inputs[0]

    return ilist


def calculate(inputs):
    """ Base class calculate method wrapper """
    return Photo(decode_inputs(inputs)).calculate()


def main():
    """ Main function. Not called by unit tests """

    # Read test input string list
    inputs = [input()]

    # Print the result
    print(calculate(inputs))

###############################################################################
# Unit Tests
###############################################################################


class unitTests(unittest.TestCase):

    def test_decode_inputs(self):
        """ Input string decoding testing """
        self.assertEqual(decode_inputs(["a"]), "a")

    def test_Photo_class__basic_functions(self):
        """ Photo class basic functions testing """
        d = Photo("a")
        self.assertEqual(d.str, "a")

    def test_calculate(self):
        """ Main calculation function """

        # Sample tests
        self.assertEqual(calculate(["a"]), 51)
        self.assertEqual(calculate(["hi"]), 76)

if __name__ == "__main__":
    if sys.argv[-1] == "-ut":
        unittest.main(argv=[" "])
    main()