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