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