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