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