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