#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n, b, p, aux = 1, ans = 0;
  cin >> n >> b >> p;
  aux = n;
  while (aux) {
    int j;
    for (int(i) = (0); (i) < (100); ++(i)) {
      if (pow(2, i) > aux) {
        j = i - 1;
        break;
      }
    }
    j = pow(2, j);
    ans += (j / 2) * (2 * b + 1);
    aux = (j / 2) + (aux - j);
  }
  cout << ans << " " << n * p << endl;
  return 0;
}
