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