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