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