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