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