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