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