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