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