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