cmd2do's submission of Fun Theory | CodeChef