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