﻿from random import randint
S=[randint(1,6)+randint(1,6)+randint(1,6) for k in range(1000)]
print(S)
def m(S):
    return sum(S)/len(S)
print(m(S))

