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