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