#include<stdio.h>
#include<stdlib.h>
typedef struct Node{
    int data;
    struct Node *next;
}node;
node *head=NULL,*tail=NULL;
int  createNode(int num){
    node *newnode=(node*)malloc(1*sizeof(node));
    newnode->data=num;
    newnode->next=NULL;
    count++;
    if(head==NULL){
        head=tail=newnode;
    }
    else{
        tail->next=newnode; //point
        tail=newnode; //move
    }
    return count;

}
void display(int ans){
    if(ans%2==0){
        printf("Player 2 wins");
    }
    else{
        printf("Player 1 wins");
    }
    
}
int main(){
    int n;
    scanf("%d",&n);
    if(n<=0){
        printf("Invalid input");
        return 0;
    }
    int ans;
    for(int i=0;i<n;i++){
        int num;
        if(!scanf("%d",&num)){
            printf("Invalid input");
            return 0;
        }
        ans=createNode(num);
    }
    
   display(ans);

}