import std.stdio, std.conv, std.string, std.algorithm, std.range, std.array;

void main() {
auto input = readln.split.to!(int[]);
writeln((input[0] % 3 == 0 || input[1] % 3 == 0 || input.sum % 3 == 0) ? "Possible" : "Impossible");
}