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