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