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