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