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