import turtle
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.backward(50)
turtle.right(90)
turtle.backward(100)
turtle.right(90)
turtle.forward(50)
turtle.backward(50)
turtle.right(90)
turtle.backward(50)
turtle.left(90)
turtle.backward(50)
turtle.left(90)
turtle.backward(50)
turtle.forward(50)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.backward(50)
done()
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.backward(50)
turtle.right(90)
turtle.backward(100)
turtle.right(90)
turtle.forward(50)
turtle.backward(50)
turtle.right(90)
turtle.backward(50)
turtle.left(90)
turtle.backward(50)
turtle.left(90)
turtle.backward(50)
turtle.forward(50)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.backward(50)
done()