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