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