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