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