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