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