Sort:  

Give me some ideas / hints !

Ram must pay any sum with out opening the bags from 1p to 30p