#include <iostream>
using namespace std;
int main() {
for (int i = 100; i < 200; i++) {
if (i % 3 == 2 && i % 5 == 3 && i % 7 == 5) {
cout << i << endl;
break;
}
}
return 0;
}
/**************************************************************
Problem: 1017
User: lihean
Language: C++
Result: Accepted
Time:5 ms
Memory:2072 kb
****************************************************************/