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