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