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