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