Working (simple) sollution for No.16