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