





'''simple docstring'''


import numpy as np


def 		__a(SCREAMING_SNAKE_CASE_					:   List[Any]						,    SCREAMING_SNAKE_CASE_					:   List[str]      ):



    '''simple docstring'''





    _lowerCAmelCase		     = np.array(SCREAMING_SNAKE_CASE_      )
    _lowerCAmelCase		     = np.array(SCREAMING_SNAKE_CASE_      )

    _lowerCAmelCase		     = abs(predict - actual      )
    _lowerCAmelCase		     = difference.mean()

    return score


def 		__a(SCREAMING_SNAKE_CASE_					:   int						,    SCREAMING_SNAKE_CASE_					:   Dict      ):



    '''simple docstring'''





    _lowerCAmelCase		     = np.array(SCREAMING_SNAKE_CASE_      )
    _lowerCAmelCase		     = np.array(SCREAMING_SNAKE_CASE_      )

    _lowerCAmelCase		     = predict - actual
    _lowerCAmelCase		     = np.square(SCREAMING_SNAKE_CASE_      )

    _lowerCAmelCase		     = square_diff.mean()
    return score


def 		__a(SCREAMING_SNAKE_CASE_					:   int						,    SCREAMING_SNAKE_CASE_					:   str      ):



    '''simple docstring'''





    _lowerCAmelCase		     = np.array(SCREAMING_SNAKE_CASE_      )
    _lowerCAmelCase		     = np.array(SCREAMING_SNAKE_CASE_      )

    _lowerCAmelCase		     = predict - actual
    _lowerCAmelCase		     = np.square(SCREAMING_SNAKE_CASE_      )
    _lowerCAmelCase		     = square_diff.mean()
    _lowerCAmelCase		     = np.sqrt(SCREAMING_SNAKE_CASE_      )
    return score


def 		__a(SCREAMING_SNAKE_CASE_					:   Union[str, Any]						,    SCREAMING_SNAKE_CASE_					:   int      ):



    '''simple docstring'''





    _lowerCAmelCase		     = np.array(SCREAMING_SNAKE_CASE_      )
    _lowerCAmelCase		     = np.array(SCREAMING_SNAKE_CASE_      )

    _lowerCAmelCase		     = np.log(predict + 1      )
    _lowerCAmelCase		     = np.log(actual + 1      )

    _lowerCAmelCase		     = log_predict - log_actual
    _lowerCAmelCase		     = np.square(SCREAMING_SNAKE_CASE_      )
    _lowerCAmelCase		     = square_diff.mean()

    _lowerCAmelCase		     = np.sqrt(SCREAMING_SNAKE_CASE_      )

    return score


def 		__a(SCREAMING_SNAKE_CASE_					:   int						,    SCREAMING_SNAKE_CASE_					:   int      ):



    '''simple docstring'''





    _lowerCAmelCase		     = np.array(SCREAMING_SNAKE_CASE_      )
    _lowerCAmelCase		     = np.array(SCREAMING_SNAKE_CASE_      )

    _lowerCAmelCase		     = predict - actual
    _lowerCAmelCase		     = np.sum(SCREAMING_SNAKE_CASE_      ) / len(SCREAMING_SNAKE_CASE_      )
    _lowerCAmelCase		     = np.sum(SCREAMING_SNAKE_CASE_      ) / len(SCREAMING_SNAKE_CASE_      )
    # print(numerator, denumerator)
    _lowerCAmelCase		     = float(SCREAMING_SNAKE_CASE_      ) / denumerator * 100

    return score





def 		__a(SCREAMING_SNAKE_CASE_					:   Any						,    SCREAMING_SNAKE_CASE_					:   Tuple      ):



    '''simple docstring'''





    return np.mean(np.array(SCREAMING_SNAKE_CASE_      ) == np.array(SCREAMING_SNAKE_CASE_      )      )









'''simple docstring'''


def 		__a(SCREAMING_SNAKE_CASE_					:   int = 1000      ):



    '''simple docstring'''





    return sum(i for i in range(SCREAMING_SNAKE_CASE_      ) if i % 3 == 0 or i % 5 == 0      )


if __name__ == "__main__":
       print(f'''{solution() = }''')


