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