def reverse_floyd(n):
    for i in range(n, 0, -1):
        for _ in range(i, 0, -1):  # printing stars
            print("* ", end="")
        print()
        for _ in range(n - i + 1, 0, -1):  # printing spaces
            print(" ", end="")