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