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