Tiancheng Lou's submission of Chef and Cut | CodeChef