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