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