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