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