# include<stdio.h> int main() { int n, k; while (scanf("%d %d", &n, &k) != EOF) { int sum = 0; float price = 200; int flag = 0; for (int i = 1; i <= 21; i++) { sum += n; if (sum >= price) { printf("%d\n", i); flag = 1; break; } price = (1 + k / float(100)) * price; } if (flag == 0) printf("Impossible\n"); } }