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