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