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