Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split())
array = []
for i in range(c):
	array.append(int(input()))

point = [b] * a
 
for i in range(c):
	point[int(array[i])] = point[int(array[i])] + 1
            
for i in range(len(point)):
	if point[i]-c > 0 :
		print('Yes')
	else:
		print('No')

Fixed submission:
a, b, c = map(int, input().split())
array = []
for i in range(c):
	array.append(int(input()))

point = [b] * a
 
for i in range(c):
	point[array[i]-1] = point[array[i]-1] + 1
            
for i in range(len(point)):
	if (point[i]-c) > 0 :
		print('Yes')
	else:
		print('No')

Buggy python submission (verdict: Time Limit Exceeded):
a, b, c = map(int, input().split())
array = []
for i in range(c):
	array.append(int(input()))
 
point = [b] * a
 
for i in range(c):
	for j in range(len(point)):
		if j+1 != int(array[i]):
			point[j] = point[j] -1
            
for i in range(len(point)):
	if point[i] > 0:
		print('Yes')
	else:
		print('No')

Fixed submission:
a, b, c = map(int, input().split())
array = []
for i in range(c):
	array.append(int(input()))

point = [b] * a
 
for i in range(c):
	point[array[i]-1] = point[array[i]-1] + 1
            
for i in range(len(point)):
	if (point[i]-c) > 0 :
		print('Yes')
	else:
		print('No')

Buggy python submission (verdict: Time Limit Exceeded):
a, b, c = map(int, input().split())
array = []
for i in range(c):
	array.append(int(input()))

point = [b] * a
 
for i in range(c):
	for j in range(len(point)):
		if j+1 != int(array[i]):
			point[j] = point[j] -1
            
for i in range(len(point)):
	if point[i] > 0:
		print('Yes')
	else:
		print('No')

Fixed submission:
a, b, c = map(int, input().split())
array = []
for i in range(c):
	array.append(int(input()))

point = [b] * a
 
for i in range(c):
	point[array[i]-1] = point[array[i]-1] + 1
            
for i in range(len(point)):
	if (point[i]-c) > 0 :
		print('Yes')
	else:
		print('No')

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split())
array = []
for i in range(c):
	array.append(input())
 
point = [b] * a
 
for i in range(c):
	for j in range(a):
		if j+1 != int(array[c]):
			point[j] = point[j] -1
            
for i in range(a):
	if point[i] > 0:
		print('Yes')
	else:
		print('No')

Fixed submission:
a, b, c = map(int, input().split())
array = []
for i in range(c):
	array.append(int(input()))

point = [b] * a
 
for i in range(c):
	point[array[i]-1] = point[array[i]-1] + 1
            
for i in range(len(point)):
	if (point[i]-c) > 0 :
		print('Yes')
	else:
		print('No')

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, intput().split())
array = []
for i in range(c):
	array.append(input())

point = [b] * a

for i in range(c):
	for j in range(a):
		if j+1 != int(array[c]):
			point[j] = point[j] -1
            
for i in range(a):
	if point[i] > 0:
		print('Yes')
	else:
		print('No')
          

Fixed submission:
a, b, c = map(int, input().split())
array = []
for i in range(c):
	array.append(int(input()))

point = [b] * a
 
for i in range(c):
	point[array[i]-1] = point[array[i]-1] + 1
            
for i in range(len(point)):
	if (point[i]-c) > 0 :
		print('Yes')
	else:
		print('No')