#include <bits/stdc++.h>
using namespace std;
int k(int n) {
  int i;
  for (i = 1; i <= n; i *= 2)
    ;
  return i / 2;
}
int main() {
  int mat = 0, n, l, b;
  cin >> n >> l >> b;
  b = (b * n);
  while (n > 1) {
    int K = k(n) - 1;
    mat += K;
    n -= K;
  }
  cout << mat * (2 * l + 1) << " " << b;
  return 0;
}
