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