#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
int b, p, n;
int getx(int x) {
  int ret = 1;
  while (ret * 2 <= x) ret *= 2;
  return ret;
}
int main(void) {
  ios::sync_with_stdio(false);
  cin >> n >> b >> p;
  int bo = 0;
  int nn = n;
  while (n > 1) {
    int x = getx(n);
    bo += (x / 2) * (2 * b + 1);
    n = x / 2 + n - x;
  }
  cout << bo << " " << p * nn << endl;
  return 0;
}
