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