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