# n = input()
# print(len(n))
#
# n = input()
# n = int(n)
# s = 0
# for i in range(999999):
# n //= 10
# s += 1
# if n == 0:
# break
#
# print(s)
#
# a, b = input().split()
# a = int(a)
# b = int(b)
# n = 0
# for i in range(a, b+1):
# if i%2==0:
# n -= i
#
# elif i%2==1:
# n += i
# print(n).
# n = int(input())
# for i in range(n):
# for j in range(n):
# print('*',end='')
# print()
# n = int(input())
# for i in range(n):
# for j in range(i+1): # range(n, i, -1):
# print('*', end='')
# print()
#
#
# a = int(input())
# for i in range(a):
# for j in range(a):
# print('*', end='')
# print()
#
# a = int(input())
# for i in range(a):
# for i in range(i+1):
# print('*', end='')
# print()
#
# n = int(input())
# for i in range(n):
# for j in range(n, i, -1):
# print('*', end='')
# print()
#
# n = int(input())
# for i in range(n):
# for j in range(i):
# print(' ', end='')
# for k in range(n, i, -1):
# print('*', end='')
# print()