The easy way to solve this is to sell her three each, for 3x(1+2+3+5+10) = 63 cents. Two more stamps must be bought, and they must make seven cents (since 17 is too much), so the fourth stamps are a two and a five.

lib/DbaDatabase.php:134: Warning: dba_replace() [<a href='function.dba-replace'>function.dba-replace</a>]: You cannot perform a modification to a database without proper access