There are 6 baskets on the table. Each basket has 17, 15, 20, 12, 9 and 16 apples. Sean chose third, Emma chose second, Olivia chose first, Matt chose sixth, John chose fourth, and Liam chose fifth. How many apples did John and Matt choose in total?