def t(n, k, q, a):

    p = [-q + k] * n

    for i in range(q):

        p[a[i-1]-1] += 1

    return ["Yes" if i > 0 else "No" for i in p]

   



if __name__ == "__main__":

    n, k, q = list(map(int, input().split()))

    a = [int(eval(input())) for i in range(q)]

    r = t(n, k, q, a)

    for i in r:

        print(i)

n, k, q = list(map(int, input().split()))

a = [int(eval(input())) for i in range(q)]

p = [-q + k] * n

for i in range(q):

    p[a[i-1]-1] += 1

print(('\n'.join(["Yes" if i > 0 else "No" for i in p])))

def t(n, k, q, a):
    p = [-q + k] * n
    for i in range(q):
        p[a[i - 1] - 1] += 1
    return ["Yes" if i > 0 else "No" for i in p]


if __name__ == "__main__":
    n, k, q = list(map(int, input().split()))
    a = [int(eval(input())) for i in range(q)]
    r = t(n, k, q, a)
    for i in r:
        print(i)

n, k, q = list(map(int, input().split()))
a = [int(eval(input())) for i in range(q)]
p = [-q + k] * n
for i in range(q):
    p[a[i - 1] - 1] += 1
print(("\n".join(["Yes" if i > 0 else "No" for i in p])))

-def t(n, k, q, a): -    p = [-q + k] * n -    for i in range(q): -        p[a[i - 1] - 1] += 1 -    return ["Yes" if i > 0 else "No" for i in p] - - -if __name__ == "__main__": -    n, k, q = list(map(int, input().split())) -    a = [int(eval(input())) for i in range(q)] -    r = t(n, k, q, a) -    for i in r: -        print(i) +n, k, q = list(map(int, input().split())) +a = [int(eval(input())) for i in range(q)] +p = [-q + k] * n +for i in range(q): +    p[a[i - 1] - 1] += 1 +print(("\n".join(["Yes" if i > 0 else "No" for i in p])))