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