#include<stdio.h>

main()

{

int a,b,c,i;

while(scanf("%d%d%d",&a,&b,&c)!=EOF)

{

for(i=10;i<=100;i++)

if(i%3==a&&i%5==b&&i%7==c) break;

if(i<=100)

printf("%d\n",i);

else printf("No answer");  

}

}

相关文章:

  • 2021-12-03
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-16
  • 2021-11-16
  • 2022-12-23
  • 2021-11-12
  • 2022-02-14
相关资源
相似解决方案