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