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