fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. int n;
  6. cin >> n;
  7. for(int i=0; i<=6; i++){
  8. cout << n << endl;
  9. n=n+2;
  10. }
  11. return 0;
  12. }
Success #stdin #stdout 0s 15232KB
stdin
8
stdout
8
10
12
14
16
18
20