Gadgets for dollars and pounds

Problem Name:
Gadgets for dollars and pounds
Site:CodeForces
Links:
Tags:
Problem setters: