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