#include using namespace std; int main() { //ios::sync_with_stdio(false); //读入输出优化的强迫症 int a, b, c; cin >> a >> b >> c; bool found = false; for (int i = 10; i < 100; i++) { if (i % 3 == a && i % 5 == b && i % 7 == c) { found = true; cout << i << endl; } } if (!found) { cout << "No answer" << endl; } return 0; }