a, b, c = map(int, input().split()) sm = a + b * 10 for i in range(10): ret = i + (c - i) * 10 if ret < 0: continue if ret < sm: print(sm - ret) exit() print("Impossible")