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