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