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