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