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