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