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