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