Solution A Solution B 17 54 7 75 34 22 29 15 47 18 41 4 50 2