shorten the codes.
initial a new problem.
two more solutions