Tiancheng Lou's submission of Yet Another Counting Problem | CodeChef