func_code_string: #include <bits/stdc++.h>   using namespace std;   string arr[12] = { C ,   C# ,  D ,   D# ,  E ,  F ,                      F# ,  G ,   G# ,  A ,   B ,  H },          a, b, c;   int ok(int a1, int a2, int a3) {     int dis1, dis2;     if (a2 > a1)       dis1 = a2 - a1;     else       dis1 = 12 - a1 + a2;     if (a3 > a2)       dis2 = a3 - a2;     else       dis2 = 12 - a2 + a3;     if (dis1 == 4 && dis2 == 3) return 1;     if (dis1 == 3 && dis2 == 4) return 0;     return 2;   }   int main() {     cin >> a >> b >> c;     int ind1, ind2, ind3;     for (int i = 0; i < 12; i++) {       if (arr[i] == a) ind1 = i;       if (arr[i] == b) ind2 = i;       if (arr[i] == c) ind3 = i;     }     if (ok(ind1, ind2, ind3) == 1 || ok(ind1, ind3, ind2) == 1 ||         ok(ind2, ind1, ind3) == 1 || ok(ind2, ind3, ind1) == 1 ||         ok(ind3, ind1, ind2) == 1 || ok(ind3, ind2, ind1) == 1)       cout <<  major  << endl;     else {       if (ok(ind1, ind2, ind3) == 0 || ok(ind1, ind3, ind2) == 0 ||           ok(ind2, ind1, ind3) == 0 || ok(ind2, ind3, ind1) == 0 ||           ok(ind3, ind1, ind2) == 0 || ok(ind3, ind2, ind1) == 0)         cout <<  minor  << endl;       else         cout <<  strange  << endl;     }     return 0;   }   