def buyhoues(n, k):
    price = 200
    flag = 0
    for i in range(1, 24):
        if i == 1:
            continue
        else:
            price = price * (1 + k / 100)
        s = n*i 
        if price <= s and i < 21:
            flag = 1
            break
        
    if flag == 1:
        print(i)
    else:
        print('Impossible')

while True:
    try:
        N, K = map(int, input().split())
        buyhoues(N, K)
    except:
        break