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