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