#!/bin/bash

typeset -i I=0
typeset -i J=0
read INPUT1
#Number of members
typeset -i NoM=$(echo $INPUT1 | cut -d' ' -f 1 )
#Initial Points
typeset -i IP=$(echo $INPUT1 | cut -d' ' -f 2 )
#NoQ Number of questions
typeset -i NoQ=$(echo $INPUT1 | cut -d' ' -f 3 )

typeset -a MEM_ARR
#Initialize member array.
for (( I = 1 ; $I <= $NoM ; I++ ))
do
        typeset -i "MEM_ARR[$I]"=$(( $IP - $NoQ ))
done

#echo $NoM/$IP/$NoQ

for (( J = 0 ; $J < $NoQ ; J++ ))
do
        read TMP
        MEM_ARR[$TMP]=$(( ${MEM_ARR[$TMP]} + 1 ))
done


for (( I = 1 ; $I <= $NoM ; I++ ))
do
        if [ ${MEM_ARR[$I]} -gt 0 ]; then
                echo "Yes"
        else
                echo "No"
        fi
done
