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