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