resolve count-and-say