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