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