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