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