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