import turtle
count = 0
while ( count < 5):
    turtle.forward(500)
    turtle.right(180)
    turtle.forward(500)
    turtle.left(90)
    turtle.forward(100)
    turtle.left(90)
    count = count+1
turtle.forward(500)
turtle.left(90)
count = 0
while ( count < 5):
    turtle.forward(500)
    turtle.right(180)
    turtle.forward(500)
    turtle.right(90)
    turtle.forward(100)
    turtle.right(90)
    count = count+1
