for x in range(0,21):
    for y in range(0,34):
        z = 100 - x - y
        if x*5 + y*3 + z//3 ==100 and z%3 == 0:
            print(x,y,z)