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