import random
a = [0] * 11
v = 5
for i in range(10000):
v += random.randint(0, 4) - 2
if v < 0:
v = 0
elif 10 < v:
v = 10
a[v] += 1
for i in range(10):
print str(a[i])
aW1wb3J0IHJhbmRvbQogCmEgPSBbMF0gKiAxMQogCnYgPSA1CiAKZm9yIGkgaW4gcmFuZ2UoMTAwMDApOgogICAgdiArPSByYW5kb20ucmFuZGludCgwLCA0KSAtIDIKICAgIGlmIHYgPCAwOgogICAgICAgIHYgPSAwCiAgICBlbGlmIDEwIDwgdjoKICAgICAgICB2ID0gMTAKICAgIGFbdl0gKz0gMQogCmZvciBpIGluIHJhbmdlKDEwKToKICAgIHByaW50IHN0cihhW2ldKQ==