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