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