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