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