Implement the count and say for new online judge.