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