Bruno Oliveira's submission of Riled | CodeChef