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