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