Buggy python submission (verdict: Time Limit Exceeded):
num, poi, ans = [int(x) for x in input().split()]

list01 = [poi for x in range(num)]

for i in range(ans):
  list01 = [x -1 for x in list01]
  j = int(input())
  list01[j -1] += 1
  
for k in list01:
  if k <= 0:
    print("No")
  else:
    print("Yes")


Fixed submission:
num, poi, ans = [int(x) for x in input().split()]

list01 = [poi for x in range(num)]
list02 = [0 for x in range(num)]

for i in range(ans):
  j = int(input())
  list02[j-1] += 1

for i in range(num):
  list02[i] = list02[i] + list01[i] - ans

for k in list02:
  if k <= 0:
    print("No")
  else:
    print("Yes")

Buggy python submission (verdict: Time Limit Exceeded):
num, poi, ans = [int(x) for x in input().split()]

list01 = [poi for x in range(num)]

i = 1
while i <= ans:
  list01 = [x -1 for x in list01]
  j = int(input())
  list01[j -1] += 1
  i += 1
  
for k in list01:
  if k <= 0:
    print("No")
  else:
    print("Yes")


Fixed submission:
num, poi, ans = [int(x) for x in input().split()]

list01 = [poi for x in range(num)]
list02 = [0 for x in range(num)]

for i in range(ans):
  j = int(input())
  list02[j-1] += 1

for i in range(num):
  list02[i] = list02[i] + list01[i] - ans

for k in list02:
  if k <= 0:
    print("No")
  else:
    print("Yes")

Buggy python submission (verdict: Time Limit Exceeded):
num, poi, ans = [int(x) for x in input().split()]
"""
print(num)
print(poi)
print(ans)
"""

list01 = []
while num > 0:
  list01.append(poi)
  num -= 1

i = 1
while i <= ans:
  list01 = [x -1 for x in list01]
  #print("i=",i)
  j = int(input())
  #print("j=",j)
  list01[j -1] += 1
  i += 1

#print(list01)
  
for k in list01:
  if k <= 0:
    print("No")
  else:
    print("Yes")


Fixed submission:
num, poi, ans = [int(x) for x in input().split()]

list01 = [poi for x in range(num)]
list02 = [0 for x in range(num)]

for i in range(ans):
  j = int(input())
  list02[j-1] += 1

for i in range(num):
  list02[i] = list02[i] + list01[i] - ans

for k in list02:
  if k <= 0:
    print("No")
  else:
    print("Yes")

Buggy python submission (verdict: Time Limit Exceeded):
num, poi, ans = [int(x) for x in input().split()]

list01 = []
while num > 0:
  list01.append(poi)
  num -= 1

i = 1
while i <= ans:
  j = int(input())
  for n, v in enumerate(list01):
    if n != j -1:
      list01[n] -= 1
  i += 1

  
for k in list01:
  if k <= 0:
    print("No")
  else:
    print("Yes")


Fixed submission:
num, poi, ans = [int(x) for x in input().split()]

list01 = [poi for x in range(num)]
list02 = [0 for x in range(num)]

for i in range(ans):
  j = int(input())
  list02[j-1] += 1

for i in range(num):
  list02[i] = list02[i] + list01[i] - ans

for k in list02:
  if k <= 0:
    print("No")
  else:
    print("Yes")

Buggy python submission (verdict: Time Limit Exceeded):
num, poi, ans = [int(x) for x in input().split()]
"""
print(num)
print(poi)
print(ans)
"""

list01 = []
while num > 0:
  list01.append(poi)
  num -= 1

i = 1
while i <= ans:
  #print("i=",i)
  j = int(input())
  #print("j=",j)
  for n, v in enumerate(list01):
    if n != j -1:
      list01[n] -= 1
      #print(list01)
  i += 1

#print(list01)
  
for k in list01:
  if k <= 0:
    print("No")
  else:
    print("Yes")


Fixed submission:
num, poi, ans = [int(x) for x in input().split()]

list01 = [poi for x in range(num)]
list02 = [0 for x in range(num)]

for i in range(ans):
  j = int(input())
  list02[j-1] += 1

for i in range(num):
  list02[i] = list02[i] + list01[i] - ans

for k in list02:
  if k <= 0:
    print("No")
  else:
    print("Yes")