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