import java.util.*;
public class Main {
        public static void main(String[] args){
            Scanner sc = new Scanner(System.in);
            while(sc.hasNext()){
                String str = sc.nextLine();
                String strre ="reset";
                String strbo ="board";
                String strad ="add";
                String strab ="abort";
                String strrba ="backplane";
                String strde ="delete";
                String strreb ="reboot";
                String[] arr = str.split(" ");
                if(arr.length==1){
                    if(strre.contains(str)){
                        System.out.println("reset what");
                    }else{
                        System.out.println("unknown command");
                    }
                }else if(arr.length==2){
                    int count=0;
                    String s1 = arr[0];
                    String s2 = arr[1];
                    String result ="";
      
                    if(strre.contains(s1)&&strbo.contains(s2)){
                        count ++;
                        result ="board fault";
                    }
                    
                    if(strbo.contains(s1)&&strad.contains(s2)){
                        count ++;
                        result = "where to add";
                    }
                    
                    if(strbo.contains(s1)&&strde.contains(s2)){
                        count ++;
                        result = "no board at all";
                    }
                    
                    if(strreb.contains(s1)&&strrba.contains(s2)){
                        count ++;
                        result = "impossible";
                    }
                    
                    if(strrba.contains(s1)&&strab.contains(s2)){
                        count ++;
                        result = "install first";
                    }
                    if(count !=1){
                        System.out.println("unknown command");
                    }else{
                        System.out.println(result);
                    }
                }else{
                    System.out.println("unknown command");
                }
            }
        }
}