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