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