#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, b, p;
  cin >> n >> b >> p;
  long long tb = 0, tt = n;
  long long bc = (2 * b + 1);
  while (n > 1) {
    long long k = 1;
    while (k * 2 <= n) {
      k *= 2;
    }
    tb += ((k / 2) * bc);
    n -= k / 2;
  }
  cout << tb << " " << tt * p << endl;
  return 0;
}
