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