solution 1_1 to 1_4