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