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