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