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