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