How do I get all the tokens for the least amount of spent coin