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