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