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