print+(@1=grep$s!~$_,@0=a..'m')>1?Impossible:@1?@1:join$/,@0for$s=<>