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