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