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