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