Anton play interesting computer game stuck level to pass level prepare n potionsanton special kettle prepare potion x second also know spell type fast process prepare potion spell type speed preparation time potion there m spell type ith cost bi manapoint change preparation time potion ai instead x spell type immediately prepare number potion there k spell ith cost di manapoint instantly create ci potion Anton use spell type spell second type total number manapoint spend exceed s consider spell instantly right Anton start prepare potionsAnton want level fast possible interested minimum number time need spend order prepare n potion