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