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