func_code_string: #include <bits/stdc++.h>   using namespace std;   const long long MOD = 1e9 + 7;   long long powm(long long a, long long n) {     long long base = 1;     a %= MOD;     while (n) {       if (n & 1) base = base * a % MOD;       a = a * a % MOD;       n >>= 1;     }     return base;   }   int main() {     long long a, b, t;     cin >> a >> b >> t;     if ((a & 1) != (b & 1) && t == -1) {       cout << 0 << endl;       return 0;     }     long long ans = powm(2, a - 1);     ans = powm(ans, b - 1);     cout << ans << endl;   }   