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