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