fun main(args: Array<String>) {
    val input = readLine()!!.split(" ").map { it.toInt() }
    val playerNumber = input[0]
    val defaultPoint = input[1]
    val correctAnswer = input[2]
    val who = mutableListOf<Int>()
    repeat(correctAnswer) {
        who.add(readLine()!!.toInt())
    }
    abc141c(playerNumber, defaultPoint, who).forEach { println(it) }
}

fun abc141c(playerNumber: Int, startPoint: Int, answerPlayer: MutableList<Int>): List<String> {
    val playerScore = mutableListOf<Int>()
    repeat(playerNumber) {
        playerScore.add(startPoint)
    }

    for (element in answerPlayer) {
        playerScore[element - 1] += 1
    }

    val whoGoNextRound = mutableListOf<String>()
    for (i in playerScore) {
        when {
            i > answerPlayer.size -> whoGoNextRound.add("Yes")
            else -> whoGoNextRound.add("No")
        }
    }

    return whoGoNextRound
}