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