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