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