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