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