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