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