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