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