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