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