#include <iostream> using namespace std; int main() { int n; double k; while (cin >> n >> k) { int price = 200; int salary = 0; bool afford = false; for (int i = 1; i <= 21; i++) { salary += n; if (salary >= price) { afford = true; cout << i << endl; break; } price = 1.0 * price * (1+ k / 100); } if (!afford)cout << "Impossible" << endl; } } // 64 位输出请用 printf("%lld")