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