#include <bits/stdc++.h>
using namespace std;
long long n, b, p;
long long f(long long n) {
  if (n == 1) return 0;
  long long nm = 1;
  while ((nm << 1LL) <= n) nm <<= 1LL;
  return b * nm + nm / 2LL + f(nm / 2LL + n - nm);
}
int main() {
  cin >> n >> b >> p;
  cout << f(n) << " " << n * p << "\n";
}
