Tomek Czajka's submission of Magic sequence | CodeChef