#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int count = 0;
  int k = 1;
  int b, p;
  cin >> n >> b >> p;
  int B = 0;
  int P = 0;
  P = p * n;
  while (n != 1) {
    k = 1;
    count = 0;
    while (k <= n) {
      k = k * 2;
      count++;
    }
    count--;
    k = k / 2;
    n = n - (k / 2);
    B = B + (b * k) + (k / 2);
  }
  cout << B << ' ' << P << endl;
  return 0;
}
