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