<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def typical_price(close_data, high_data, low_data):
 """ Typical Price. Formula: TPt = (HIGHt + LOWt + CLOSEt) / 3 """

    catch_errors.check_for_input_len_diff(close_data, high_data, low_data)
    tp = [(high_data[idx] + low_data[idx] + close_data[idx]) / 3 for idx in range(0, len(close_data))]
    return np.array(tp)