# 4-7
# a, b, c = input().split()
# a, b, c = int(a), int(b), int(c)
# def mean(a, b, c):
# return (a+b+c)/3
# print(a, b, c,'의 평균값은', mean(a, b, c))
# def max(a, b, c):
# max = a
# if b > c:
# if max > b:
# return max
# else:
# return b
# else:
# if a > c:
# return a
# else:
# return c
# print(a, b, c, '의 최댓값은', max(a, b, c))
# def min(a, b, c):
# min = a
# if b > c:
# if min < c:
# return min
# else:
# return c
# else:
# if min < b:
# return min
# else:
# return b
# print(a, b, c, '의 최솟값은', min(a, b, c))
# a, b, c, d, e, f = input().split()
# a, b, c, d, e, f = int(a), int(b), int(c), int(d), int(e), int(f)
# def mean3(a, b, c):
# return a + b + c
# def mean4(d, e, f):
# return d + e + f
# def mean6(a, b, c, d, e, f):
# return(mean3(a, b, c) + mean4(d, e, f)) / 2
#
# print(mean6(a, b, c, d, e, f))
# def max1(a, b, c):
# if b > c:
# if a > b:
# return a
# else:
# return b
# else:
# if a > c:
# return a
# else:
# return c
#
# def max2(d, e, f):
# if e > f:
# if d > e:
# return d
# else:
# return e
# else:
# if d > f:
# return d
# else:
# return f
#
# def max(a, b, c, d, e, f):
# m1 = max1(a, b, c)
# m2 = max2(d, e, f)
# if m1 > m2:
# return m1
# else:
# return m2
# print('최댓값은', max(a, b, c, d, e, f))
# def min1(a, b, c):
# if b < c:
# if a < b:
# return a
# else:
# return b
# else:
# if a < c:
# return a
# else:
# return c
#
# def min2(d, e, f):
# if e < f:
# if d < e:
# return d
# else:
# return e
# else:
# if d < f:
# return d
# else:
# return f
#
# def min3(a, b, c, d, e, f):
# m1 = min1(a, b, c)
# m2 = min2(d, e, f)
# if m1 < m2:
# return m1
# else:
# return m2
# print('최솟값은', min3(a, b, c, d, e, f))
# 4-15
# def my_sort(*numbers):
# lst=[]
# for i in (numbers):
# lst.append(i)
# lst.sort()
# return lst
#
# print(my_sort(3, 4, 56, 1, 2))
# 4-16
# n = input('정수를 여러 개 입력:')
# m = n.split(',')
# lst = []
# for i in m:
# lst.append(int(i))
#
# print('입력된 정수의 리스트:', lst)
# lst.sort()
#
# print('정렬된 정수의 리스트:', end='')
# for i in lst:
# print(i, end=' ')
# 4-24
# def rv(s):
# p = ['.', ',', '!', '?']
# for m in p:
# s = s.replace(m, ' ')
# return s
# inputstr = input('여러 단어로 이루어진 글을 입력하세요:')
# inputstr = rv(inputstr).lower()
# w = inputstr.split()
# w.sort()
# print('정렬 결과:')
# print(w)
# s = 'hello'
# print(s[:-1])
# text = 'a, b, c'
# x, y, z = text.split(',')
# print(x)
# for i in range(5):
# for j in range(10):
# print('*', end='')
# print()
# for i in range(1, 6):
# for x in range(i):
# print('*', end='')
# print()