import java.util.*;

public class Main {
    public static void main(String[] args) {
        // 配置文件恢复
        Scanner sc = new Scanner(System.in);
        Map<String,String> command = new HashMap<>();
        // 将命令行和对应的作用写入map集合
        command.put("reset","reset what");
        command.put("reset board","board fault");
        command.put("board add","where to add");
        command.put("reboot backplane","impossible");
        command.put("backplane abort","install first");
        command.put("board delete","no board at all");
        // 将key写入Set<String[]>
        Set<String[]> set = new HashSet<>();
        for(String s: command.keySet()){
           set.add(s.split(" "));
        }
//        Iterator<String[]> iterator = set.iterator();
//        int index = 0;
//        while(iterator.hasNext()){
//            if(index == 0) {iterator.next();index++;}
//            else {
//                System.out.println(iterator.next()[1]);
//                index++;
//            }
//        }
        while(sc.hasNext()){
            // 处理输入
            String[] res  = sc.nextLine().split(" ");// 空格分隔,并且返回字符串数组
            String comands = null;
            // 匹配处理
            for(String[] strArray : set){
                // 如果输入的串的长度是1
                if(res.length == 1){
                    // 只匹配长度为1的
                    if(strArray.length == 1){
                        if(strArray[0].startsWith(res[0])){
                            comands = strArray[0];// 将comands赋值
                            break;
                        }
                    }
                }else if(res.length == 2){

                    // 长度为2.优先匹配第一个关键字
                    if(strArray.length == 2){
                        if(strArray[0].startsWith(res[0])){
                            if(strArray[1].startsWith(res[1]))
                            {
  
                                comands = strArray[0] + " "+strArray[1];
                                break;
                            }
                        }
                    }
                }
            }
            if(comands != null){
                System.out.println(command.get(comands));
            }else System.out.println("unknown command");
        }
        //
    }
}