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