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