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