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