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