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