Michał Stawarz's submission of Gasoline | CodeChef