#include using namespace std; typedef long long LL; const int nmax = 100010; const LL mod = 1000003; LL a,b,N; int main(void){ int i,j,x,y,T,z,t,e,nod,dist,cul; // freopen("txt.in","r",stdin); // freopen("txt.out","w",stdout); ios::sync_with_stdio(false); cin >> a >> b>> N; cout << a+b <<' ' << a*1LL*N+b << '\n'; return 0; }