#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, b, p, ansb = 0, ansp = 0, k, m;
  bool fl = true;
  cin >> n >> b >> p;
  ansp = n * p;
  if (n == 1) {
    cout << 0 << " " << ansp << endl;
    return 0;
  }
  while (fl) {
    m = 1;
    while (m < n) m = m * 2;
    if (m > n) m = m / 2;
    ansb = ansb + (m * b + (m / 2));
    n = n - m / 2;
    if (n <= 1) break;
  }
  cout << ansb << " " << ansp << endl;
  return 0;
}
