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