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