
    Design a function for a social media content recommendation system that determines the most engaging content sequence by arranging given engagement scores to form the highest possible numerical value. The engagement scores are single-digit metrics collected from user interactions with different content pieces, and the resulting sequence will be used to prioritize content display order in the user's feed.
    

    
def find_Max_Num(arr):
    """
    Design a function for a social media content recommendation system that determines the most engaging content sequence by arranging given engagement scores to form the highest possible numerical value. The engagement scores are single-digit metrics collected from user interactions with different content pieces, and the resulting sequence will be used to prioritize content display order in the user's feed.
    

    """
def find_Max_Num(arr):
    """
    Design a function for a social media content recommendation system that determines the most engaging content sequence by arranging given engagement scores to form the highest possible numerical value. The engagement scores are single-digit metrics collected from user interactions with different content pieces, and the resulting sequence will be used to prioritize content display order in the user's feed.
    

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