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