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