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