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