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