#include #define pb push_back #define M 1000000007 using namespace std; typedef long long ll; ll power(ll a, ll b) { if(b==0) return 1; ll ans = power(a,b/2); ans = (ans*ans)%M; if(b&1) ans = (ans*a)%M; return ans; } int main() { ll a,b,t,n, twoInv = power(2,M-2); cin>>a>>b>>t; n = a+b; ll num = power(n, t); twoInv = power(twoInv,t); num = (num*twoInv) %M; cout<