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