3 # Print mean and standard deviation of a series of numbers read from stdin.
7 inputs = ''.join(sys.stdin.readlines()).split()
8 vals = map(float, inputs)
9 mean = sum(vals) / len(vals)
11 stddev = (sum((x - mean)**2 for x in vals) / (len(vals) - 1)) ** 0.5
15 print "%s\t%s" % (mean, stddev)