#include <bits/stdc++.h>
using namespace std;
int n, b, p, ans1;
void solve() {
  if (n <= 1) return;
  int k = 1;
  while (k <= n) {
    k *= 2;
  }
  k /= 2;
  ans1 += (k * b + (k / 2));
  n -= k;
  n += (k / 2);
  solve();
}
int main() {
  cin >> n >> b >> p;
  int n1 = n;
  solve();
  cout << ans1 << " " << n1 * p;
  return 0;
}
