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