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