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