Hasan says that he should say the takbeers with the imam and then make up the remaining part of the prayer.