#include using namespace std; int main(){ string a,b;cin>>a>>b; reverse(a.begin(),a.end()); reverse(b.begin(),b.end()); int c=a[0]-'0',d=b[0]-'0'; vector ans={"Possible","Impossible"}; cout<