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