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