Problem A. Store Credit

Qualification Round Africa, 2010