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