a,b,c,d = map(int,input().split()) if d>=10: print('Impossible') else: score = 0 for i in range(a+b): k = i//100 if i