mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-27 12:31:58 +00:00
13 lines
190 B
C++
13 lines
190 B
C++
|
#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;
|
||
|
}
|