#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, b, p;
  while (cin >> n >> b >> p) {
    int ans = 0;
    int t = n;
    while (t > 1) {
      int pw;
      for (pw = 1; pw << 1 <= t; pw <<= 1)
        ;
      ans += pw * b;
      ans += pw >> 1;
      t = (pw >> 1) + t - pw;
    }
    cout << ans << " " << n * p << endl;
  }
  return 0;
}
