function Main(input){
	var n = input.split(" ");

	if(n[0] % 3 == 0 || n[1] % 3 == 0 || n[2] % 3 == 0){
		console.log("Possible");
	}else{
		console.log("Impossible");
	}
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));