import sys
from collections import OrderedDict
od = OrderedDict()
od['reset'] = 'reset what'
od['reset board'] = 'board fault'
od['board add'] = 'where to add'
od['board delete'] = 'no board at all'
od['reboot backplane'] = 'impossible'
od['backplane abort'] = 'install first'
unknown = 'unknown command'
def match_one(li):
for key in od.keys():
if 1 != len(key.split()):
continue
if key.startswith(li[0]):
print(od[key])
return
print(unknown)
def match_two(li):
for key in od.keys():
if 2 != len(key.split()):
continue
if not key.split()[0].startswith(li[0]):
continue
if key.split()[1].startswith(li[1]):
print(od[key])
return
print(unknown)
for line in sys.stdin.readlines():
if not line.strip():
print("")
continue
li = line.strip().split()
size = len(li)
if size == 1:
match_one(li)
elif size == 2:
match_two(li)
else:
print(unknown)