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