#include using namespace std; #define ll long long ll M=1e9+7; ll fexpo (ll a,ll b) { ll res=1; while (b) { if (b%2) { res*=a; res%=M; } a*=a; a%=M; b/=2; } return res; } int main() { ios_base::sync_with_stdio(0); cin.tie(NULL); ll n,a,b,t,i,j; cin>>a>>b>>t; ll ans=fexpo((a+b),t); j=-t; j%=(M-1); if (j<0) j+=(M-1); ans*=fexpo(2,j); ans%=M; cout<