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