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