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