mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-09 01:38:48 +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;
|
||
|
}
|