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