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