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