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