import random
rballs=3
yballs=3
gballs=6
count=8
for red in range(0,4):
    for yellow in range(0,4):
        for green in range(0,7):
            if red+yellow+green==8:
                print(red,yellow,green)



#题目要求，。！！！！计算所有情况。不是算概率啊 = =。。自找麻烦
