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