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