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