from math import*;N,K,*G=map(int,open(0).read().split());D=gcd(*G);M=max(G) if K>M*M:print('im'*(K%D>0)+'possible')