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