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