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