finished: note the case {5}{5},and use recursion.