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