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