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