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