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