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