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