#include <bits/stdc++.h>
#include <cstdlib>
using namespace std;
int main() {
int n;
cin >> n;
// write your code here......
int *arr;
arr = (int*)malloc(n*sizeof(int));
for(int i=0; i<n; i++){
*(arr + i) = n+i;
}
for(int i=0; i<n; i++){
cout << *(arr+i) << " ";
}
free(arr);
return 0;
}
#include <bits/stdc++.h>
#include <cstdlib>
using namespace std;
int main() {
int n;
cin >> n;
// write your code here......
int *arr = new int[n];
for (int i = 0; i<n; i++) {
cout << (*(arr + i) = n+i) << " ";
}
delete[] arr;
return 0;
}
#include <bits/stdc++.h>
#include <cstdlib>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
// write your code here......
vector<int> arr(n);
for (int i = 0; i<n; i++) {
cout << (arr.at(i) = n+i) << " ";
}
return 0;
}