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