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