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