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