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