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