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