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