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