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