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