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