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