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