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