#include #include using namespace std; int main(void){ // Your code here! int a,b,c,d; cin>>a>>b>>c>>d; if(d>=10){cout<<"Impossible"<