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