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