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