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