Buggy python submission (verdict: Time Limit Exceeded):
N, K, Q = map(int, input().split())
A_list = [int(input()) for i in range(Q)]


ori = K - Q
for n in range(1, N + 1):
    n_count = A_list.count(n)
    if n_count == 0:
        if ori > 0:
            print('Yes')
        else:
            print('No')
    else:
        if ori + n_count > 0:
            print('Yes')
        else:
            print('No')


Fixed submission:
N, K, Q = map(int, input().split())
index_list = [int(input()) - 1 for i in range(Q)]

zero_list = [0 for n in range(N)]

ori = K - Q
for i in range(Q):
    zero_list[index_list[i]] += 1
for i in range(N):
    zero_list[i] += ori
for i in range(N):
    if zero_list[i] > 0:
        print('Yes')
    else:
        print('No')

# shakayamiさんのコードを参考にしました
# for文が入れ子になると遅くなるから，出来るだけそうしない

Buggy python submission (verdict: Time Limit Exceeded):
N, K, Q = map(int, input().split())
A = []
for _ in range(Q):
    A.append(int(input()))

dif = K - Q
if dif > 0:
    for i in range(N):
        print('Yes')
else:
    for n in range(N):
        freq = A.count(n + 1)
        if dif + freq <= 0:
            print('No')
        else:
            print('Yes')





Fixed submission:
N, K, Q = map(int, input().split())
index_list = [int(input()) - 1 for i in range(Q)]

zero_list = [0 for n in range(N)]

ori = K - Q
for i in range(Q):
    zero_list[index_list[i]] += 1
for i in range(N):
    zero_list[i] += ori
for i in range(N):
    if zero_list[i] > 0:
        print('Yes')
    else:
        print('No')

# shakayamiさんのコードを参考にしました
# for文が入れ子になると遅くなるから，出来るだけそうしない

Buggy python submission (verdict: Time Limit Exceeded):
N, K, Q = map(int, input().split())
A = []
for _ in range(Q):
    A.append(int(input()))


if K > Q:
    for i in range(N):
        print('Yes')
else:
    for n in range(N):
        freq = A.count(n + 1)
        if K - Q + freq <= 0:
            print('No')
        else:
            print('Yes')





Fixed submission:
N, K, Q = map(int, input().split())
index_list = [int(input()) - 1 for i in range(Q)]

zero_list = [0 for n in range(N)]

ori = K - Q
for i in range(Q):
    zero_list[index_list[i]] += 1
for i in range(N):
    zero_list[i] += ori
for i in range(N):
    if zero_list[i] > 0:
        print('Yes')
    else:
        print('No')

# shakayamiさんのコードを参考にしました
# for文が入れ子になると遅くなるから，出来るだけそうしない

Buggy python submission (verdict: Time Limit Exceeded):
N, K, Q = map(int, input().split())
A = []
for _ in range(Q):
    A.append(int(input()))


for n in range(N):
    freq = A.count(n + 1)
    if K > Q:
        print('Yes')
    elif K - Q + freq <= 0:
        print('No')
    else:
        print('Yes')





Fixed submission:
N, K, Q = map(int, input().split())
index_list = [int(input()) - 1 for i in range(Q)]

zero_list = [0 for n in range(N)]

ori = K - Q
for i in range(Q):
    zero_list[index_list[i]] += 1
for i in range(N):
    zero_list[i] += ori
for i in range(N):
    if zero_list[i] > 0:
        print('Yes')
    else:
        print('No')

# shakayamiさんのコードを参考にしました
# for文が入れ子になると遅くなるから，出来るだけそうしない

Buggy python submission (verdict: Time Limit Exceeded):
N, K, Q = map(int, input().split())
A = []

for _ in range(Q):
    A.append(int(input()))

for n in range(N):
    freq = A.count(n + 1)
    if K- Q + freq <= 0:
        print('No')
    else:
        print('Yes')





Fixed submission:
N, K, Q = map(int, input().split())
index_list = [int(input()) - 1 for i in range(Q)]

zero_list = [0 for n in range(N)]

ori = K - Q
for i in range(Q):
    zero_list[index_list[i]] += 1
for i in range(N):
    zero_list[i] += ori
for i in range(N):
    if zero_list[i] > 0:
        print('Yes')
    else:
        print('No')

# shakayamiさんのコードを参考にしました
# for文が入れ子になると遅くなるから，出来るだけそうしない

Buggy python submission (verdict: Time Limit Exceeded):
N, K, Q = map(int, input().split())
A = []

for _ in range(Q):
    A.append(int(input()))

Count = []
for n in range(N):
    freq = A.count(n + 1)
    Count.append(freq)

for i in range(N):
    if K - Q + Count[i] <= 0:
        print('No')
    else:
        print('Yes')




Fixed submission:
N, K, Q = map(int, input().split())
index_list = [int(input()) - 1 for i in range(Q)]

zero_list = [0 for n in range(N)]

ori = K - Q
for i in range(Q):
    zero_list[index_list[i]] += 1
for i in range(N):
    zero_list[i] += ori
for i in range(N):
    if zero_list[i] > 0:
        print('Yes')
    else:
        print('No')

# shakayamiさんのコードを参考にしました
# for文が入れ子になると遅くなるから，出来るだけそうしない