// Arup Guha
// 4/12/2025
// Solution to Junior Knights Contest Problem: Shiritori
// https://open.kattis.com/problems/shiritori

import java.util.*;

public class shiritori {

	public static void main(String[] args) {
	
		// Get # of items.
		Scanner stdin = new Scanner(System.in);
		int n = stdin.nextInt();
		
		// Store used words here.
		HashSet<String> words = new HashSet<String>();
		
		// Start with the first word.
		String prev = stdin.next();
		words.add(prev);
		boolean done = false;
		int lost = -1;
		
		// Go through the rest.
		for (int i=1; i<n; i++) {
			
			// Get current word.
			String cur = stdin.next();
			
			// How you lose.
			if (words.contains(cur) || cur.charAt(0) != prev.charAt(prev.length()-1)) {
				done = true;
				lost = i%2;
				break;
			}
			
			// Update previous for next iteration.
			prev = cur;
			words.add(cur);
		}
		
		// Output accordingly.
		if (!done)
			System.out.println("Fair Game");
		else
			System.out.println("Player "+(lost+1)+" lost");
	}
}
