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