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