#include <stdio.h>
int main(void){
    // Your code here!
    int N;
    int K;
    int Q;
    int i;
    
    scanf("%d %d %d",&N,&K,&Q);
    int count[N];
    for(i=0;i<N;i++){
        count[i]=0;
    }
    for(i=0;i<Q;i++){
        int d;
        scanf("%d",&d);
        count[d-1]=count[d-1]+1;//そいつが何回正解したか
    }
    
    for(i=0;i<N;i++){
        if(K>Q){
            printf("Yes\n");
        }else{
            if((K-Q)+count[i]>0){
                printf("Yes\n");
            }else{
                printf("No\n");
            }
        }
    }
    
    return 0;
}

; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/ObjectiveC/Source_208/source.m'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/ObjectiveC/Source_208/source.m"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"

@.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@str = private unnamed_addr constant [3 x i8] c"No\00", align 1
@str.5 = private unnamed_addr constant [4 x i8] c"Yes\00", align 1

; Function Attrs: nofree nounwind uwtable
define dso_local i32 @main() local_unnamed_addr #0 {
entry:
  %N = alloca i32, align 4
  %K = alloca i32, align 4
  %Q = alloca i32, align 4
  %d = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %N) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %K) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %Q) #6
  %call = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %N, ptr noundef nonnull %K, ptr noundef nonnull %Q)
  %0 = load i32, ptr %N, align 4, !tbaa !5
  %1 = zext i32 %0 to i64
  %2 = call ptr @llvm.stacksave.p0()
  %vla = alloca i32, i64 %1, align 16
  %3 = load i32, ptr %N, align 4, !tbaa !5
  %cmp41 = icmp sgt i32 %3, 0
  br i1 %cmp41, label %for.body.preheader, label %for.cond1.preheader

for.body.preheader:                               ; preds = %entry
  %4 = zext i32 %3 to i64
  %5 = shl nuw nsw i64 %4, 2
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %vla, i8 0, i64 %5, i1 false), !tbaa !5
  br label %for.cond1.preheader

for.cond1.preheader:                              ; preds = %for.body.preheader, %entry
  %6 = load i32, ptr %Q, align 4, !tbaa !5
  %cmp243 = icmp sgt i32 %6, 0
  br i1 %cmp243, label %for.body3, label %for.cond13.preheader

for.cond13.preheader.loopexit:                    ; preds = %for.body3
  %.pre = load i32, ptr %N, align 4, !tbaa !5
  br label %for.cond13.preheader

for.cond13.preheader:                             ; preds = %for.cond13.preheader.loopexit, %for.cond1.preheader
  %7 = phi i32 [ %.pre, %for.cond13.preheader.loopexit ], [ %3, %for.cond1.preheader ]
  %cmp1445 = icmp sgt i32 %7, 0
  br i1 %cmp1445, label %for.body15, label %for.end30

for.body3:                                        ; preds = %for.cond1.preheader, %for.body3
  %i.144 = phi i32 [ %inc11, %for.body3 ], [ 0, %for.cond1.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %d) #6
  %call4 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %d)
  %8 = load i32, ptr %d, align 4, !tbaa !5
  %sub = add nsw i32 %8, -1
  %idxprom5 = sext i32 %sub to i64
  %arrayidx6 = getelementptr inbounds i32, ptr %vla, i64 %idxprom5
  %9 = load i32, ptr %arrayidx6, align 4, !tbaa !5
  %add = add nsw i32 %9, 1
  store i32 %add, ptr %arrayidx6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %d) #6
  %inc11 = add nuw nsw i32 %i.144, 1
  %10 = load i32, ptr %Q, align 4, !tbaa !5
  %cmp2 = icmp slt i32 %inc11, %10
  br i1 %cmp2, label %for.body3, label %for.cond13.preheader.loopexit

for.body15:                                       ; preds = %for.cond13.preheader, %for.inc28
  %indvars.iv = phi i64 [ %indvars.iv.next, %for.inc28 ], [ 0, %for.cond13.preheader ]
  %11 = load i32, ptr %K, align 4, !tbaa !5
  %12 = load i32, ptr %Q, align 4, !tbaa !5
  %cmp16 = icmp sgt i32 %11, %12
  br i1 %cmp16, label %for.inc28, label %if.else

if.else:                                          ; preds = %for.body15
  %sub18 = sub i32 %11, %12
  %arrayidx20 = getelementptr inbounds i32, ptr %vla, i64 %indvars.iv
  %13 = load i32, ptr %arrayidx20, align 4, !tbaa !5
  %add21 = add nsw i32 %sub18, %13
  %cmp22 = icmp sgt i32 %add21, 0
  %str.4.str = select i1 %cmp22, ptr @str.5, ptr @str
  br label %for.inc28

for.inc28:                                        ; preds = %if.else, %for.body15
  %str.5.sink = phi ptr [ @str.5, %for.body15 ], [ %str.4.str, %if.else ]
  %puts40 = call i32 @puts(ptr nonnull dereferenceable(1) %str.5.sink)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %14 = load i32, ptr %N, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %cmp14 = icmp slt i64 %indvars.iv.next, %15
  br i1 %cmp14, label %for.body15, label %for.end30

for.end30:                                        ; preds = %for.inc28, %for.cond13.preheader
  call void @llvm.stackrestore.p0(ptr %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %Q) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %K) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %N) #6
  ret i32 0
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

attributes #0 = { nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #4 = { nofree nounwind }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }

!llvm.linker.options = !{}
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"Ubuntu clang version 18.0.0 (++20231007042255+8abb2ace888b-1~exp1~20231007042414.1230)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
