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