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