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