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