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