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