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