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