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