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