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