Dinesh Goyal's submission of Art of Balance | CodeChef