datalist = []
while True:
    inp = input('number or q')
    if inp=='q':
        break
    datalist.append(int(inp))
asum= 0
for x in datalist:
    asum +=x
else:
    m = asum/len9datalist)
    print(m)
import math
asume = 0
for x in datalist:
    asum+=(x-m)**2
else:
    stdev = math.sqrt(asum/len(datalist))
    print(stdev)
