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