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