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