n = int(input()) for x in range(21): for y in range(34): for z in range(101): if x + y + z == 100 and 5 * x + 3 * y + (1/3) * z == 100: print(x,y,z)