#include <bits/stdc++.h>
using namespace std;
int power(int a, int b) {
  if (b == 0) return a;
  int ans = power(a, b / 2);
  if (b % 2 == 0)
    return ans * ans;
  else
    return ans * ans * a;
}
int main() {
  int t;
  t = 1;
  while (t--) {
    int n, b, p;
    cin >> n >> b >> p;
    int tp = p * n;
    int tb = 0;
    int num = n;
    int f = 10;
    while (1) {
      if (num == 1) break;
      int part = pow(2, (int)log2(num));
      int rest = num - part;
      tb += (part * b + part / 2);
      num = part / 2;
      num += rest;
    }
    cout << tb << " " << tp << endl;
  }
  return 0;
}
