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