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