#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int cases, n, b, p;
  cases = 1;
  while (cases--) {
    cin >> n >> b >> p;
    long long int t = 0, ans = 0, ans1 = n * p, m;
    while (n > 1) {
      t = n & 1 ? 1 : 0;
      m = n / 2;
      ans += (m * 2 * b) + m;
      n /= 2;
      n += t;
    }
    cout << ans << " " << ans1;
  }
  return 0;
}
