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