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