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