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