from turtle import right, left, forward, shape, exitonclick

a = int(input("napis hodnotu:"))
for d in range(a):
    for i in range(1):
        for j in range(2):
            forward(50)
            left(60)
            forward(50)
            left(60)
            forward(50)
            right(60)
            forward(50)
            right(60)
            forward(50)
            right(60)
            forward(50)
            right(60)
        forward(50)
        left(60)
        forward(50)
        left(60)
        forward(50)
        right(60)
        forward(50)
        right(60)
        forward(50)
        right(60)
        forward(50)
    left(60)

    for im in range(1):
        for jm in range(2):
            forward(50)
            right(60)
            forward(50)
            right(60)
            forward(50)
            right(60)
            forward(50)
            left(60)
            forward(50)
            left(60)
            forward(50)
            right(60)
        forward(50)
        right(60)
        forward(50)
        right(60)
        forward(50)
        right(60)
        forward(50)
        left(60)
        forward(50)
        left(60)
        forward(50)
    right(60)





exitonclick()




