题解 | #百钱买百鸡问题#
百钱买百鸡问题
http://www.nowcoder.com/practice/74c493f094304ea2bda37d0dc40dc85b
while True:
try:
n = input()
for i in range(21):
for j in range(34):
k = 100 - i - j
if 5*i + 3*j + k/3 == 100:
print(i, j, k)
except:
break