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