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