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