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