#我震惊,这输入没看懂。 while True: try: n = int(input()) man = 5 wm = 3 b = 1/3 for i in range(100): for j in range(100): for k in range(100): if (i + j + k == 100) and (man * i + wm * j + b*k ==100): print(i,j,k,end="\n") except: break
#我震惊,这输入没看懂。 while True: try: n = int(input()) man = 5 wm = 3 b = 1/3 for i in range(100): for j in range(100): for k in range(100): if (i + j + k == 100) and (man * i + wm * j + b*k ==100): print(i,j,k,end="\n") except: break