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