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