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