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