solved p116
solved p117