for i in  range(1, 10):
    print(i+1, "-----derrick")
print()
for i in range(10):
    print("derrick")
    print()
for i in range(3, 7):
    print(i,  "---derrick")
    print()
for i in range(5, 2, -1):
    print(i, "---derrick")