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