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