x = 1
while x <=1000:
    print x
    x+=2

y = 5
while y <= 1000000:
    print y
    y+=5

sum = 0
a = [1,2,5,10,255,3]
for value in a:
    sum = sum + value
print sum

sum = 0
a = [1,2,5,10,255,3]
for value in a:
    sum = sum + value
avg = sum / len(a)
print avg
