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