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