import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); boolean[] isTrue = new boolean[N]; for(int i = 0 ; i < N ; i++){ String yOrN = sc.next(); if(yOrN.equals("Yes")){ isTrue[i] = true; }else{ isTrue[i] = false; } } if(isTrue[0]){ System.out.println("Yes"); }else{ System.out.println("No"); } for(int i = 1 ; i < N ; i++){ if(isTrue[i] == isTrue[0]){ System.out.println("Yes"); }else{ System.out.println("No"); } } } }