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