#include using longlong=long long; [[maybe_unused]]auto cmn=[](auto&& a,auto b){if(a>b){a=b;return true;}return false;}; [[maybe_unused]]auto cmx=[](auto&& a,auto b){if(a>a>>b>>c; int inf=std::numeric_limits::max(); int ans=inf; for(int i=0;i<=a;i++){ for(int j=0;j<=b;j++){ int cost=a-i+10*(b-j); for(int k=0;k<=cost;k++){ if(c==i+j+k/10+k%10)cmn(ans,cost); } } } std::cout<<(ans==inf?"Impossible":std::to_string(ans))<