n,k=list(map(int,input().split()))

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

a.sort()

g=a[-1]

def gcd(a,b):

  while b:a,b=b,a%b

  return a

for i in a:g=gcd(g,i)

if a[-1]<k or k%g!=0:print("IMPOSSIBLE")

else:print("POSSIBLE")
def gcd(a,b):

  while b:a,b=b,a%b

  return a

n,k=list(map(int,input().split()))

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

g=a[0]

for i in a[1:]:g=gcd(g,i)

ans="IMPOSSIBLE"

for i in a:

  if k>i:continue

  if abs(k-i)%g==0:ans="POSSIBLE"

print(ans)
n, k = list(map(int, input().split()))
a = list(map(int, input().split()))
a.sort()
g = a[-1]


def gcd(a, b):
    while b:
        a, b = b, a % b
    return a


for i in a:
    g = gcd(g, i)
if a[-1] < k or k % g != 0:
    print("IMPOSSIBLE")
else:
    print("POSSIBLE")

def gcd(a, b):
    while b:
        a, b = b, a % b
    return a


n, k = list(map(int, input().split()))
a = list(map(int, input().split()))
g = a[0]
for i in a[1:]:
    g = gcd(g, i)
ans = "IMPOSSIBLE"
for i in a:
    if k > i:
        continue
    if abs(k - i) % g == 0:
        ans = "POSSIBLE"
print(ans)

-n, k = list(map(int, input().split())) -a = list(map(int, input().split())) -a.sort() -g = a[-1] - - +n, k = list(map(int, input().split())) +a = list(map(int, input().split())) +g = a[0] +for i in a[1:]: +    g = gcd(g, i) +ans = "IMPOSSIBLE" -    g = gcd(g, i) -if a[-1] < k or k % g != 0: -    print("IMPOSSIBLE") -else: -    print("POSSIBLE") +    if k > i: +        continue +    if abs(k - i) % g == 0: +        ans = "POSSIBLE" +print(ans)