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