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