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