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