func_code_string: #include <bits/stdc++.h>   using namespace std;   map<string, int> m;   int dis(string s1, string s2) { return (m[s2] - m[s1] + 12) % 12; }   int main() {     string s1, s2, s3;     m[ C ] = 0;     m[ C# ] = 1;     m[ D ] = 2;     m[ D# ] = 3;     m[ E ] = 4;     m[ F ] = 5;     m[ F# ] = 6;     m[ G ] = 7;     m[ G# ] = 8;     m[ A ] = 9;     m[ B ] = 10;     m[ H ] = 11;     cin >> s1 >> s2 >> s3;     if ((dis(s1, s2) == 4 && dis(s2, s3) == 3) ||         (dis(s1, s3) == 4 && dis(s3, s2) == 3) ||         (dis(s2, s1) == 4 && dis(s1, s3) == 3) ||         (dis(s2, s3) == 4 && dis(s3, s1) == 3) ||         (dis(s3, s1) == 4 && dis(s1, s2) == 3) ||         (dis(s3, s2) == 4 && dis(s2, s1) == 3))       cout <<  major n ;     else if ((dis(s1, s2) == 3 && dis(s2, s3) == 4) ||              (dis(s1, s3) == 3 && dis(s3, s2) == 4) ||              (dis(s2, s1) == 3 && dis(s1, s3) == 4) ||              (dis(s2, s3) == 3 && dis(s3, s1) == 4) ||              (dis(s3, s1) == 3 && dis(s1, s2) == 4) ||              (dis(s3, s2) == 3 && dis(s2, s1) == 4))       cout <<  minor n ;     else       cout <<  strange n ;   }   