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