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