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