# n = int(input())
# for i in range(1, n):
# for j in range(0, i):
# print('*', end='')
# print()
# for i in range(n, 0, -1):
# for j in range(0, i):
# print('*', end='')
# print()
# n = int(input())
# for i in range(1, n+1, 2):
# for j in range(n, i, -2):
# print(' ', end='')
# for j in range(0, i):
# print('*', end='')
# print()
# a, d, n = map(int, input().split())
# print(a + (d * (n-1)))
# n = int(input())
# a = input().split()
#
# for i in range(n):
# a[i] = int(a[i])
#
# d = []
# for i in range(24):
# d.append(0)
#
# for i in range(n):
# d[a[i]] += 1
#
# for i in range(1, 24):
# print(d[i], end=' ')
# n = int(input())
# a = input().split()
# for i in range(n-1, -1, -1):
# print(a[i], end=' ')
# n = int(input())
# N = map(int, input().split())
# a = min(N)
# print(a)