0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-05 02:06:27 +00:00
OI-codes/AcWing/715/715.cpp

13 lines
190 B
C++
Raw Normal View History

#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= 10000; i++) {
if (i % n == 2) cout << i << endl;
}
return 0;
}