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