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