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