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