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