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