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