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