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