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