n = int(input())
max_num = -10000000000000
min_num = 10000000000000

for i in range(1, n + 1):
    num = int(input())
    if num > max_num:
        max_num = num
    if num < min_num:
        min_num = num

print(f"Max number: {max_num}")
print(f"Min number: {min_num}")


995c87d24e4dec8ea96c8e17bb2922039e33b027
<mask token>

<mask token>
for i in range(1, n + 1):
    num = int(input())
    if num > max_num:
        max_num = num
    if num < min_num:
        min_num = num
print(f'Max number: {max_num}')
print(f'Min number: {min_num}')

n = int(input())
max_num = -10000000000000
min_num = 10000000000000
for i in range(1, n + 1):
    num = int(input())
    if num > max_num:
        max_num = num
    if num < min_num:
        min_num = num
print(f'Max number: {max_num}')
print(f'Min number: {min_num}')

n = int(input())
max_num = -10000000000000
min_num = 10000000000000

for i in range(1, n + 1):
    num = int(input())
    if num > max_num:
        max_num = num
    if num < min_num:
        min_num = num

print(f"Max number: {max_num}")
print(f"Min number: {min_num}")

