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