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