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