See the problem statement here: [http://codeforces.com/contest/921/problem/01](//codeforces.com/contest/921/problem/01).
none
none
import random as rnd
c=["take","open-left","open-right","open-up","open-down","move-left","move-right","move-up","move-down"]
x="""take
open-left
open-right
open-up
open-down"""
for i in range(100000):
    print(x)
    print(c[rnd.randint(5,8)])