fun main(args: Array<String>) {
    agc018a()
}

fun agc018a() {
    val (n, k) = readLine()!!.split(" ").map { it.toLong() }
    val aList = readLine()!!.split(" ").map { it.toLong() }.toLongArray()

    val max = aList.max()!!
    val gcd = aList.fold(aList.first()) { acc, l -> gcd(acc, l) }

    val answer = if (k <= max && k % gcd == 0L) "POSSIBLE" else "IMPOSSIBLE"

    println(answer)
}

private tailrec fun gcd(a: Long, b: Long): Long {
    return if (b == 0L) a else gcd(b, a % b)
}
