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