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