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