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