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