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