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