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