import kotlin.collections.* import kotlin.math.* fun main() { val (n, x) = readLine()!!.split(" ").map { it.toInt() } val c = readLine()!!.split(" ").map { it.toInt() } if (x in c.min()!! .. c.max()!!) { println("Yes") } else { println("No") } }