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