def METHOD_NAME(input: Any) -> Store:
    """Sums a 1-D array into a single scalar
    Args:
        input (Any): A Legate store or any object implementing
                     the Legate data interface.
    Returns:
        Store: A Legate store encapsulating the array sum
    """
    input_store = _get_legate_store(input)
    task = user_context.create_auto_task(HelloOpCode.SUM)
    # zero-initialize the output for the summation
    output = zero()
    task.add_input(input_store)
    task.add_reduction(output, types.ReductionOp.ADD)
    task.execute()
    return output