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