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