
fun main(arr:Array<String>) {
    val ans = if( readLine()!!.split(" ").map { it.toInt() }.let { listOf(it[0], it[1], it[0] + it[1]) }.any{ it % 3 == 0} ) "Possible" else "Impossible"
    println(ans)
}