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