a=[]
x=int(input("enter max size:"))
for i in range (x):
    val=input("enter the value:")
    a.append(val)
print(a)
print("lenght",len(a))
print("max value in the list",max(a))
print("minimum value is",min(a))

