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