
    Write a function that determines the smallest standardized loan amount that can accommodate a customer's requested loan value, where standardized amounts are powers of 2 dollars to align with the bank's automated processing system. The function should take the customer's requested loan amount as input and return the next available standardized loan tier that fully covers their request.
    

    
def next_power_of_2(n):
    """
    Write a function that determines the smallest standardized loan amount that can accommodate a customer's requested loan value, where standardized amounts are powers of 2 dollars to align with the bank's automated processing system. The function should take the customer's requested loan amount as input and return the next available standardized loan tier that fully covers their request.
    

    """
def next_power_of_2(n):
    """
    Write a function that determines the smallest standardized loan amount that can accommodate a customer's requested loan value, where standardized amounts are powers of 2 dollars to align with the bank's automated processing system. The function should take the customer's requested loan amount as input and return the next available standardized loan tier that fully covers their request.
    

    """
    if n and (not n & n - 1):
        return n
    count = 0
    while n != 0:
        n >>= 1
        count += 1
    return 1 << count