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