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