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