import sys sys.setrecursionlimit(5*10**5) input = sys.stdin.readline from collections import defaultdict, deque, Counter from heapq import heappop, heappush from bisect import bisect_left, bisect_right from math import gcd n,m = map(str,input().split()) nn = int(n[-1]) mm = int(m[-1]) if nn % 2 == mm % 2: print("Possible") else: print("Impossible")