def get_values_greater_than(values, A):                             # O(N)
    """
    From a ascendingly sorted array of values, get values > A

    >>> get_values_greater_than([1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121], 64)
    [121, 100, 81, 64]
    >>> get_values_greater_than([1], 1)
    [1]
    """
    num_values = len(values)                                        # O(1)
    array = []                                                      # O(1)
    for i in range(num_values - 1, -1, -1):                         # O(N)
        value = values[i]                                           # O(1)
        if value >= A:                                              # O(1)
            array.append(value)                                     # O(1)
        else:                                                       # O(1)
            return array                                            # O(1)

    return array                                                    # O(1)