Language: C++

#include <iostream>
#include <algorithm>
#include <cmath>
#include <limits>
#include <vector>
#include <cstdio>
#include <bits/stdc++.h>
#include <set>
#include <map>
#include <stdio.h>
#include <stack>
#include <queue>
using namespace std;
using ll = long long;
map <int ,int> mpa,mpb;

int main(){
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  string S;
  cin >> S;
  n=S.size();
  if(S==AKIHABARA){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==KIHABARA){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==AKIHBARA){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==AKIHABRA){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==AKIHABAR){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==KIHBARA){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==KIHABRA){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==KIHABAR){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==AKIHBRA){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==AKIHBAR){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==AKIHABR){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==AKIHBR){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==KIHABR){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==KIHBAR){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==KIHBRA){
    cout << "Yes" << endl;
    return 0;
  }
  else if(S==KIHBR){
    cout << "Yes" << endl;
    return 0;
  }
  else{
    cout << "No" << endl;
    return 0;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:3: error: 'n' was not declared in this scope
   22 |   n=S.size();
      |   ^
a.cc:23:9: error: 'AKIHABARA' was not declared in this scope
   23 |   if(S==AKIHABARA){
      |         ^~~~~~~~~
a.cc:27:14: error: 'KIHABARA' was not declared in this scope
   27 |   else if(S==KIHABARA){
      |              ^~~~~~~~
a.cc:31:14: error: 'AKIHBARA' was not declared in this scope
   31 |   else if(S==AKIHBARA){
      |              ^~~~~~~~
a.cc:35:14: error: 'AKIHABRA' was not declared in this scope
   35 |   else if(S==AKIHABRA){
      |              ^~~~~~~~
a.cc:39:14: error: 'AKIHABAR' was not declared in this scope
   39 |   else if(S==AKIHABAR){
      |              ^~~~~~~~
a.cc:43:14: error: 'KIHBARA' was not declared in this scope
   43 |   else if(S==KIHBARA){
      |              ^~~~~~~
a.cc:47:14: error: 'KIHABRA' was not declared in this scope
   47 |   else if(S==KIHABRA){
      |              ^~~~~~~
a.cc:51:14: error: 'KIHABAR' was not declared in this scope
   51 |   else if(S==KIHABAR){
      |              ^~~~~~~
a.cc:55:14: error: 'AKIHBRA' was not declared in this scope
   55 |   else if(S==AKIHBRA){
      |              ^~~~~~~
a.cc:59:14: error: 'AKIHBAR' was not declared in this scope
   59 |   else if(S==AKIHBAR){
      |              ^~~~~~~
a.cc:63:14: error: 'AKIHABR' was not declared in this scope
   63 |   else if(S==AKIHABR){
      |              ^~~~~~~
a.cc:67:14: error: 'AKIHBR' was not declared in this scope
   67 |   else if(S==AKIHBR){
      |              ^~~~~~
a.cc:71:14: error: 'KIHABR' was not declared in this scope
   71 |   else if(S==KIHABR){
      |              ^~~~~~
a.cc:75:14: error: 'KIHBAR' was not declared in this scope
   75 |   else if(S==KIHBAR){
      |              ^~~~~~
a.cc:79:14: error: 'KIHBRA' was not declared in this scope
   79 |   else if(S==KIHBRA){
      |              ^~~~~~
a.cc:83:14: error: 'KIHBR' was not declared in this scope
   83 |   else if(S==KIHBR){
      |              ^~~~~