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