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