Liu xianglong's solutions to 3 problems of week 3