try:
while True:
a,b,c = map(int,input().split())
f=1
for n in range(10,101):
if n%3==a and n%5==b and n%7==c:
print(n)
f=0
break
if f:
print('No answer')
except EOFError:
pass
觉得有用的话采纳一下哈