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