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