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