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