2014 Mudanjiang Online  D We Need Medicine

2014 Mudanjiang Online Contest Problem D We Need Medicine