#include <bits/stdc++.h>
using namespace std;
void scan(int &x);
int main(void) {
  int i, n, b, p, tem, ansb = 0, ansp = 0, tom = 0;
  cin >> n >> b >> p;
  tem = n;
  while (tem) {
    if (tem % 2) tom++;
    ansb += (tem / 2) * ((b * 2) + 1);
    tem = tem / 2;
  }
  ansb += ((tom - 1) * ((b * 2) + 1));
  cout << ansb << " " << n * p;
  return 0;
}
void scan(int &x) {
  register int c = getchar();
  x = 0;
  for (; (c < 48 || c > 57); c = getchar())
    ;
  for (; c > 47 && c < 58; c = getchar()) {
    x = (x << 1) + (x << 3) + c - 48;
  }
}
