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