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