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