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