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