#include <bits/stdc++.h>
using namespace std;
template <typename X>
inline void pl(X ab) {
  cout << ab << endl;
}
template <typename X>
inline void ps(X ab) {
  cout << ab << " ";
}
int main() {
  long long int n, b, k, c, p, a = 0;
  cin >> n >> b >> p;
  c = n * p;
  while (n > 1) {
    k = 1;
    while (k < n) {
      k *= 2;
    }
    if (k > n) k /= 2;
    a += (k / 2) * (b * 2 + 1);
    n -= k / 2;
  }
  ps(a);
  pl(c);
  return 0;
}
