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