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