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