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