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