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