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