#include <bits/stdc++.h>
using namespace std;


int main(){
	int k,n;
	double target,cnt;
	while(cin>>n>>k){
		cnt = n;
		target = 200;
		bool flag = false;
		int i;
		for(i = 1; i <= 21; i++){
			// cout<<cnt<<" "<<target<<" "<<endl;
			if(cnt >= target){
				flag = true;
				break;
			}
			cnt += n;
			target = ((double)(100+k) / 100) * target;
		}
		if(flag)
			cout<<i<<endl;
		else
			cout<<"Impossible"<<endl;
	}

}