import sys



input = sys.stdin.readline



def main():

    N, K, Q = list(map(int, input().split()))

    a = [K-Q]*N

    for _ in range(Q):

        a[int(eval(input()))-1] += 1

    for i in range(N):

        if a[i] > 0:

            print('Yes')

        else:

            print('No')



if __name__ == '__main__':

    main()
import sys



input = sys.stdin.readline



def main():

    ans = ''

    N, K, Q = list(map(int, input().split()))

    a = [K-Q]*N

    for _ in range(Q):

        a[int(eval(input()))-1] += 1

    for i in a:

        if i > 0:

          ans += 'Yes'

        else:

          ans += 'No'

        ans += '\n'

    print(ans)



if __name__ == '__main__':

    main()
import sys

input = sys.stdin.readline


def main():
    N, K, Q = list(map(int, input().split()))
    a = [K - Q] * N
    for _ in range(Q):
        a[int(eval(input())) - 1] += 1
    for i in range(N):
        if a[i] > 0:
            print("Yes")
        else:
            print("No")


if __name__ == "__main__":
    main()

import sys

input = sys.stdin.readline


def main():
    ans = ""
    N, K, Q = list(map(int, input().split()))
    a = [K - Q] * N
    for _ in range(Q):
        a[int(eval(input())) - 1] += 1
    for i in a:
        if i > 0:
            ans += "Yes"
        else:
            ans += "No"
        ans += "\n"
    print(ans)


if __name__ == "__main__":
    main()

+    ans = "" -    for i in range(N): -        if a[i] > 0: -            print("Yes") +    for i in a: +        if i > 0: +            ans += "Yes" -            print("No") +            ans += "No" +        ans += "\n" +    print(ans)