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