a,b,c=map(int,input().split()) d=a+b ans=[] for A in range(a+1): for B in range(b+1): if d-A-B==c: ans+=[A+B*10] while a>10: if a>10: a-=10 b+=1 d=a+b for A in range(a+1): for B in range(b+1): if d-A-B==c: ans+=[A+B*10] if max(ans)>0: print(min(ans)) else: print("Impossible")