
    Write a function that determines the highest potential return on investment by rearranging a client's historical investment performance figures, represented as individual digits, to form the maximum possible value for portfolio optimization analysis. The function should take a list of single-digit numbers representing various financial metrics and combine them to create the largest possible number, helping financial advisors identify the best-case scenario for client portfolio restructuring.
    

    
def find_Max_Num(arr):
    """
    Write a function that determines the highest potential return on investment by rearranging a client's historical investment performance figures, represented as individual digits, to form the maximum possible value for portfolio optimization analysis. The function should take a list of single-digit numbers representing various financial metrics and combine them to create the largest possible number, helping financial advisors identify the best-case scenario for client portfolio restructuring.
    

    """
def find_Max_Num(arr):
    """
    Write a function that determines the highest potential return on investment by rearranging a client's historical investment performance figures, represented as individual digits, to form the maximum possible value for portfolio optimization analysis. The function should take a list of single-digit numbers representing various financial metrics and combine them to create the largest possible number, helping financial advisors identify the best-case scenario for client portfolio restructuring.
    

    """
    n = len(arr)
    arr.sort(reverse=True)
    num = arr[0]
    for i in range(1, n):
        num = num * 10 + arr[i]
    return num