<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hr_avg(self):
 """Average heart rate of the workout"""

        hr_data = self.hr_values()
        return int(sum(hr_data) / len(hr_data))