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