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