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