fun main(args: Array<String>) {
    val (N, K) = readInputLine().split(" ").map { it.toInt() }
    
    val AList = readInputLine().split(" ").map { it.toInt() }
    
    val max = AList.max()!!
    
    if (max < K) {
        println("IMPOSSIBLE")
        return
    }
    
    val allGcd = AList.fold(AList.first()) { acc, e -> gcd(acc, e) }

    if (K % allGcd == 0) {
        println("POSSIBLE")
    } else {
        println("IMPOSSIBLE")
    }
}

fun readInputLine(): String {
    return readLine()!!
}

fun gcd(a: Int, b: Int): Int {
    if (b > a) {
        return gcd(b, a)
    }
    if (b == 0) {
        return a
    }
    return gcd(b, a % b)
}
