• + 1 comment

    if name == 'main': n = int(input()) n = n-1 list_ = []

    while n>=0: list_.append(n) n = n-1

    ordened_list_ = sorted(list_)

    for x in ordened_list_: print( x**2 )