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