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