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