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