#include <bits/stdc++.h>
using namespace std;
long long i,n;
int main()
{
cin>>n;
for (i=1; i<=n; i++) if (i%2==0) cout<<i<<" ";
return 0;
}
Var n,i,so:integer;
Begin
Write('Nhap n = ');readln(n);
Writeln('Cac so chan tu 1 den n la: ');
For i:=1 to n do
If i mod 2 = 0 then write(i,' ');
Readln;
End.