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