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