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