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