#include
#include
using namespace std;
int main()
{
int N;
int array[100];
ifstream file1 ("input.txt");
ofstream file2 ("output.txt");
file1 >> N;
for(int i = 0;i < N;i++) {
file1 >> array[i];
if(i % 2 == 0)
file2 << array[i] << " ";<br> }
return 0;
}