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