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