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