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