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