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