import fractions

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

A = list(map(int,input().split()))



m = max(A)

if m < K:

	print("IMPOSSIBLE")

else:

	gcd = A[0]

	for i in range(1,N):

		gcd = fractions.gcd(A[0], A[i])

	if fractions.gcd(gcd, K) == gcd:

		print("POSSIBLE")

	else:

		print("IMPOSSIBLE")
N,K = list(map(int,input().split()))

A = list(map(int, input().split()))

M = max(A)

if K > M:

    print("IMPOSSIBLE")

    exit()



def gcd(n,m):

    if n < m:

        tmp = n

        n = m

        m = tmp

    while n % m != 0:

        tmp = m

        m = n % m

        n = tmp

    return m

g = M

for a in A:

    g = gcd(g,a)

    if g == 1:

        break

if K % g == 0:

    print("POSSIBLE")

else:

    print("IMPOSSIBLE")
import fractions

N, K = list(map(int, input().split()))
A = list(map(int, input().split()))
m = max(A)
if m < K:
    print("IMPOSSIBLE")
else:
    gcd = A[0]
    for i in range(1, N):
        gcd = fractions.gcd(A[0], A[i])
    if fractions.gcd(gcd, K) == gcd:
        print("POSSIBLE")
    else:
        print("IMPOSSIBLE")

N, K = list(map(int, input().split()))
A = list(map(int, input().split()))
M = max(A)
if K > M:
    print("IMPOSSIBLE")
    exit()


def gcd(n, m):
    if n < m:
        tmp = n
        n = m
        m = tmp
    while n % m != 0:
        tmp = m
        m = n % m
        n = tmp
    return m


g = M
for a in A:
    g = gcd(g, a)
    if g == 1:
        break
if K % g == 0:
    print("POSSIBLE")
else:
    print("IMPOSSIBLE")

-import fractions - -m = max(A) -if m < K: +M = max(A) +if K > M: +    exit() + + +def gcd(n, m): +    if n < m: +        tmp = n +        n = m +        m = tmp +    while n % m != 0: +        tmp = m +        m = n % m +        n = tmp +    return m + + +g = M +for a in A: +    g = gcd(g, a) +    if g == 1: +        break +if K % g == 0: +    print("POSSIBLE") -    gcd = A[0] -    for i in range(1, N): -        gcd = fractions.gcd(A[0], A[i]) -    if fractions.gcd(gcd, K) == gcd: -        print("POSSIBLE") -    else: -        print("IMPOSSIBLE") +    print("IMPOSSIBLE")