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