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