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