#include<stdio.h>
#include<stdlib.h>

typedef struct node {
    int data;
    struct node *next;
}Node;

Node *head,*tail;
void create(int num) {
    Node *newNode = (Node*) malloc (1*sizeof(Node));
    newNode->data=num;
    newNode->next=NULL;
    if(head==NULL) {
        head =newNode;
        tail=newNode;
    }
    else {
        tail->next=newnode;
        tail=newNode;
    }
}
void display() {
    Node *itr=head;
    int found=0;
    while(itr!=NULL){
        if(itr->data%2==0){
            if(found) printf(" ");
            printf("%d, itr->data");
            found = -1;
        }
        itr = itr->next;
    }
    if(!found)
    printf("Empty")

}

int main()
{
    int num,size,itr;
    scanf("%d",&size);
    for(itr=1;itr<size;itr++){
    if(!scanf("%d",num)){
        printf("Invalid input");
        return 0;
        
    }   
    
    create (num);
    
        }
        display();
}