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