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