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