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