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