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