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