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