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