The problen is difficult.I can't work it out.