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