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