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