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