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