<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_distance_coefficients(self, C, imt):
 """ Returns the c3 term """

        c3 = self.c3[imt]["c3"] if self.c3 else C["c3"]
        return c3