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