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