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