Anders Kaseorg's submission of LOVEMUFFIN | CodeChef