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