Imports System.Collections.Generic
Imports System.Console

Module Program
    Sub Main()
        Dim n As Integer = NextInt()
        Dim k As Integer = NextInt()
        Dim g, m As Integer

        For i As Integer = 0 To n - 1
            Dim a As Integer = NextInt()
            If i = 0 Then
                g = a
                m = a
            End If
            g = GCD(g, a)
            m = Math.Max(m, a)
        Next

        If k Mod g = 0 AndAlso k <= m Then
            WriteLine("POSSIBLE")
        Else
            WriteLine("IMPOSSIBLE")
        End If
    End Sub

    Function GCD(x As Integer, y As Integer) As Integer
        Do While y <> 0
            x = x Mod y
            Dim tmp As Integer = x
            x = y
            y = tmp
        Loop
        Return Math.Abs(x)
    End Function

    Function NextInt() As Integer
        Return CInt(NextString())
    End Function

    Function NextString() As String
        Dim result As New List(Of Char)
        Do
            Dim tmp As Integer = Read()
            If tmp < 0 Then Exit Do
            Dim nextChar As Char = Chr(tmp)

            If Not Char.IsWhiteSpace(nextChar) Then
                result.Add(nextChar)
            ElseIf nextChar <> vbCr Then
                Exit Do
            End If
        Loop
        Return New String(result.ToArray())
    End Function
End Module
