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