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