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