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