millions= list(range(1,1000001))
print(min(millions))
print(max(millions))
print(sum(millions))
for million in millions:
    print(million)

 
    
millions= list(range(1,1000001))
print(min(millions))
print(max(millions))
print(sum(millions))
for million in millions:
    print(million)

 
    