Arvind Rachuri's submission of The Legend | CodeChef