# nums = [1, 2, 3, 4, 5]
# result = []
# sum = 0
# for num in nums:
#     sum += num 
#     result.append(sum)
#     print(result)

# n = int(input())
# words = []
# for _ in range(n):
#     word = input()
#     size_word = len(word)
#     if size_word > 10:
#         s = size_word - 2
#         abbr = word[0] + str(s) +  word[-1]
#         words.append(abbr)
#     else:
#         words.append(word)


# for el in words:
#     print(el)
#

# n = int(input())
# if n % 2 == 0 and n != 2:
#     print('YES')
# else:
#     print('NO')


# words = input('Введите слова')
# titleletter = (words.title())
# print(titBranch