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