func_code_string: #include <bits/stdc++.h>   using namespace std;   void ECHO(string _s) {     cout << endl;     (void)_s;   }   template <typename T, typename... Args>   void ECHO(string _s, T x, Args... args) {     unsigned _i;     string _s2 =   ;     for (_i = 0; _i < _s.length(); ++_i) {       if (_s[_i] ==  , ) break;       if (_s[_i] !=    ) _s2 += _s[_i];     }     if (_i == _s.length()) {       --_i;     }     cout <<    (  << _s2 <<  ):  << x;     ECHO(_s.substr(_i + 1, _s.length() - _i - 1), args...);   }   template <typename T0, typename T1>   inline ostream& operator<<(ostream& os, pair<T0, T1>& p) {     return os <<  (  << p.first <<  ,   << p.second <<  ) ;   }   template <typename T>   inline ostream& operator<<(ostream& os, vector<T>& v) {     for (unsigned i = 0; i < v.size(); ++i) {       cout << v[i] <<  _ ;     }     cout << endl;     return os;   }   template <typename T>   inline T _min(T x1, T x2, T x3) {     return min(x1, min(x2, x3));   }   template <typename T>   inline T _min(T x1, T x2, T x3, T x4) {     return min(min(x1, x2), min(x2, x3));   }   inline long long _gcd(long long a, long long b) {     while (b) b %= a ^= b ^= a ^= b;     return a;   }   int main() {     ios::sync_with_stdio(false);     int q;     cin >> q;     while (q--) {       long long n, n5, n3, n2, contador;       cin >> n;       contador = 0;       n5 = (n % 5);       while ((n5) == 0) {         n = 4 * n;         n = n / 5;         n5 = (n % 5);         contador = contador + 1;       }       n3 = (n % 3);       while ((n3) == 0) {         n = (2) * n;         n = n / 3;         n3 = (n % 3);         contador = contador + 1;       }       n2 = (n % 2);       while ((n2) == 0) {         n = n / 2;         n2 = (n % 2);         contador = contador + 1;       }       if (n == 1) {         cout << contador <<   n ;       } else {         cout << -1 <<   n ;       }     }     return 0;   }   