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