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