num = [30,20,10,12,15,46,45]
minimum = 100000000
for i in num:
    if minimum>i:
        minimum=i
print(minimum)

# how to get maxmium value:

num = [10,12,15,46,45]
maximum = 0
for i in num:
    if maximum<i:
        maximum=i
print(maximum)  


